Padre-Plugin-WxWidgets

 view release on metacpan or  search on metacpan

share/doc/wxwidgets.pod  view on Meta::CPAN

   value = "", const wxPoint& pos = wxDefaultPosition, const wxSize& size
   = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long
   style = 0, const wxValidator& validator = wxDefaultValidator, const
   wxString& name = "comboBox")

   wxBitmapComboBox(wxWindow* parent, wxWindowID id, const wxString&
   value, const wxPoint& pos, const wxSize& size, const wxArrayString&
   choices, long style = 0, const wxValidator& validator =
   wxDefaultValidator, const wxString& name = "comboBox")

   Constructor, creating and showing a combobox.

   Parameters

   parent

       Parent window. Must not be NULL.

   id  

       Window identifier. A value of -1 indicates a default value.

share/doc/wxwidgets.pod  view on Meta::CPAN

       Window name.

   See also

   wxBitmapComboBox::Create, wxValidator

=head2 Wx::BitmapComboBox::DESTROY

   ~wxBitmapComboBox()

   Destructor, destroying the combobox.

=head2 Wx::BitmapComboBox::Create

   bool Create(wxWindow* parent, wxWindowID id, const wxString& value =
   "", const wxPoint& pos = wxDefaultPosition, const wxSize& size =
   wxDefaultSize, int n, const wxString choices[], long style = 0, const
   wxValidator& validator = wxDefaultValidator, const wxString& name =
   "comboBox")

   bool Create(wxWindow* parent, wxWindowID id, const wxString& value,
   const wxPoint& pos, const wxSize& size, const wxArrayString& choices,
   long style = 0, const wxValidator& validator = wxDefaultValidator,
   const wxString& name = "comboBox")

   Creates the combobox for two-step construction. Derived classes should
   call or replace this function. See wxBitmapComboBox::wxBitmapComboBox
   for further details.

=head2 Wx::BitmapComboBox::Append

   int Append(const wxString& item, const wxBitmap& bitmap = wxNullBitmap)

   Adds the item to the end of the combo box.

   int Append(const wxString& item, const wxBitmap& bitmap, void *clientData)

share/doc/wxwidgets.pod  view on Meta::CPAN

   const wxPoint& pos = wxDefaultPosition, const wxSize& size =
   wxDefaultSize, int n = 0, const wxString choices[] = NULL, long style
   = 0, const wxValidator& validator = wxDefaultValidator, const wxString&
   name = "comboBox")

   wxComboBox(wxWindow* parent, wxWindowID id, const wxString& value,
   const wxPoint& pos, const wxSize& size, const wxArrayString& choices,
   long style = 0, const wxValidator& validator = wxDefaultValidator,
   const wxString& name = "comboBox")

   Constructor, creating and showing a combobox.

   Parameters

   parent

       Parent window. Must not be NULL.

   id  

       Window identifier. A value of -1 indicates a default value.

share/doc/wxwidgets.pod  view on Meta::CPAN

   and choices arguments are to a single argument, which is a list of
   strings.

   wxPerl note: In wxPerl there is just an array reference in place of n
   and choices.

=head2 Wx::ComboBox::DESTROY

   ~wxComboBox()

   Destructor, destroying the combobox.

=head2 Wx::ComboBox::Create

   bool Create(wxWindow* parent, wxWindowID id, const wxString& value =
   "", const wxPoint& pos = wxDefaultPosition, const wxSize& size =
   wxDefaultSize, int n, const wxString choices[], long style = 0, const
   wxValidator& validator = wxDefaultValidator, const wxString& name =
   "comboBox")

   bool Create(wxWindow* parent, wxWindowID id, const wxString& value,
   const wxPoint& pos, const wxSize& size, const wxArrayString& choices,
   long style = 0, const wxValidator& validator = wxDefaultValidator,
   const wxString& name = "comboBox")

   Creates the combobox for two-step construction. Derived classes should
   call or replace this function. See wxComboBox::wxComboBox for further
   details.

=head2 Wx::ComboBox::CanCopy

   bool CanCopy() const

   Returns true if the combobox is editable and there is a text selection
   to copy to the clipboard. Only available on Windows.

=head2 Wx::ComboBox::CanCut

   bool CanCut() const

   Returns true if the combobox is editable and there is a text selection
   to copy to the clipboard. Only available on Windows.

=head2 Wx::ComboBox::CanPaste

   bool CanPaste() const

   Returns true if the combobox is editable and there is text on the
   clipboard that can be pasted into the text field. Only available on
   Windows.

=head2 Wx::ComboBox::CanRedo

   bool CanRedo() const

   Returns true if the combobox is editable and the last undo can be
   redone. Only available on Windows.

=head2 Wx::ComboBox::CanUndo

   bool CanUndo() const

   Returns true if the combobox is editable and the last edit can be
   undone. Only available on Windows.

=head2 Wx::ComboBox::Copy

   void Copy()

   Copies the selected text to the clipboard.

=head2 Wx::ComboBox::Cut

share/doc/wxwidgets.pod  view on Meta::CPAN

   int GetCurrentSelection() const

   This function does the same things as wxChoice::GetCurrentSelection
   and returns the item currently selected in the dropdown list if it's
   open or the same thing as GetSelection otherwise.

=head2 Wx::ComboBox::GetInsertionPoint

   long GetInsertionPoint() const

   Returns the insertion point for the combobox's text field.

   Note: Under wxMSW, this function always returns 0 if the combobox
   doesn't have the focus.

=head2 Wx::ComboBox::GetLastPosition

   virtual wxTextPos GetLastPosition() const

   Returns the last position in the combobox text field.

=head2 Wx::ComboBox::GetSelection

   void GetSelection(long *from, long *to) const

   This is the same as wxTextCtrl::GetSelection for the text control
   which is part of the combobox. Notice that this is a different method
   from wxControlWithItems::GetSelection.

   Currently this method is only implemented in wxMSW and wxGTK.

=head2 Wx::ComboBox::GetValue

   wxString GetValue() const

   Returns the current value in the combobox text field.

=head2 Wx::ComboBox::Paste

   void Paste()

   Pastes text from the clipboard to the text field.

=head2 Wx::ComboBox::Redo

   void Redo()

   Redoes the last undo in the text field. Windows only.

=head2 Wx::ComboBox::Replace

   void Replace(long from, long to, const wxString& text)

   Replaces the text between two positions with the given text, in the
   combobox text field.

   Parameters

   from

       The first position.

   to  

       The second position.

   text

       The text to insert.

=head2 Wx::ComboBox::Remove

   void Remove(long from, long to)

   Removes the text between the two positions in the combobox text field.

   Parameters

   from

       The first position.

   to  

       The last position.

=head2 Wx::ComboBox::SetInsertionPoint

   void SetInsertionPoint(long pos)

   Sets the insertion point in the combobox text field.

   Parameters

   pos 

       The new insertion point.

=head2 Wx::ComboBox::SetInsertionPointEnd

   void SetInsertionPointEnd()

   Sets the insertion point at the end of the combobox text field.

=head2 Wx::ComboBox::SetSelection

   void SetSelection(long from, long to)

   Selects the text between the two positions, in the combobox text
   field.

   Parameters

   from

       The first position.

   to  

       The second position.

   wxPython note: This method is called SetMark in wxPython, SetSelection
   name is kept for wxControlWithItems::SetSelection.

=head2 Wx::ComboBox::SetValue

   void SetValue(const wxString& text)

   Sets the text for the combobox text field.

   NB: For a combobox with wxCB_READONLY style the string must be in the
   combobox choices list, otherwise the call to SetValue() is ignored.

   Parameters

   text

       The text to set.

=head2 Wx::ComboBox::Undo

   void Undo()

share/doc/wxwidgets.pod  view on Meta::CPAN

   value = "", const wxPoint& pos = wxDefaultPosition, const wxSize& size
   = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long
   style = 0, const wxValidator& validator = wxDefaultValidator, const
   wxString& name = "comboBox")

   wxOwnerDrawnComboBox(wxWindow* parent, wxWindowID id, const wxString&
   value, const wxPoint& pos, const wxSize& size, const wxArrayString&
   choices, long style = 0, const wxValidator& validator =
   wxDefaultValidator, const wxString& name = "comboBox")

   Constructor, creating and showing a owner-drawn combobox.

   Parameters

   parent

       Parent window. Must not be NULL.

   id  

       Window identifier. A value of -1 indicates a default value.

share/doc/wxwidgets.pod  view on Meta::CPAN

       Window name.

   See also

   wxOwnerDrawnComboBox::Create, wxValidator

=head2 Wx::OwnerDrawnComboBox::DESTROY

   ~wxOwnerDrawnComboBox()

   Destructor, destroying the owner-drawn combobox.

=head2 Wx::OwnerDrawnComboBox::Create

   bool Create(wxWindow* parent, wxWindowID id, const wxString& value =
   "", const wxPoint& pos = wxDefaultPosition, const wxSize& size =
   wxDefaultSize, int n, const wxString choices[], long style = 0, const
   wxValidator& validator = wxDefaultValidator, const wxString& name =
   "comboBox")

   bool Create(wxWindow* parent, wxWindowID id, const wxString& value,
   const wxPoint& pos, const wxSize& size, const wxArrayString& choices,
   long style = 0, const wxValidator& validator = wxDefaultValidator,
   const wxString& name = "comboBox")

   Creates the combobox for two-step construction. Derived classes should
   call or replace this function. See
   wxOwnerDrawnComboBox::wxOwnerDrawnComboBox for further details.

=head2 Wx::OwnerDrawnComboBox::GetWidestItem

   int GetWidestItem() const

   Returns index to the widest item in the list.

=head2 Wx::OwnerDrawnComboBox::GetWidestItemWidth

share/doc/wxwidgets.pod  view on Meta::CPAN

   flags has the same meaning as with OnDrawItem.

=head2 Wx::OwnerDrawnComboBox::OnDrawItem

   void OnDrawItem(wxDC& dc, const wxRect& rect, int item, int flags)
   const

   The derived class may implement this function to actually draw the
   item with the given index on the provided DC. If function is not
   implemented, the item text is simply drawn, as if the control was a
   normal combobox.

   Parameters

   dc  

       The device context to use for drawing

   rect

       The bounding rectangle for the item being drawn (DC clipping

share/doc/wxwidgets.pod  view on Meta::CPAN

       Combines any of the following flag values:

=head2 Wx::OwnerDrawnComboBox::OnMeasureItem

   wxCoord OnMeasureItem(size_t item) const

   The derived class may implement this method to return the height of
   the specified item (in pixels).

   The default implementation returns text height, as if this control was
   a normal combobox.

=head2 Wx::OwnerDrawnComboBox::OnMeasureItemWidth

   wxCoord OnMeasureItemWidth(size_t item) const

   The derived class may implement this method to return the width of the
   specified item (in pixels). If -1 is returned, then the item text
   width is used.

   The default implementation returns -1.

share/doc/wxwidgets.pod  view on Meta::CPAN

=head2 Wx::ToolBar::DESTROY

   void ~wxToolBar()

   Toolbar destructor.

=head2 Wx::ToolBar::AddControl

   bool AddControl(wxControl* control)

   Adds any control to the toolbar, typically e.g. a combobox.

   control

       The control to be added.

=head2 Wx::ToolBar::AddSeparator

   void AddSeparator()

   Adds a separator for spacing groups of tools.



( run in 1.571 second using v1.01-cache-2.11-cpan-39bf76dae61 )