Used to add one or more strings into a wxListBox, wxComboBox, or wxChoice. text can be either a string, or a sequence of strings, in which case all of the items will be added.
This is also used to enter one or more string, bitmap sequences into a wxBitmapComboBox.
Clears all items from a wxListBox, wxListCtrl, wxChoice or wxComboBox.
Converts from client to screen window coordinates.
Delete an item from a wxListBox, wxListCtrl, wxComboBox or wxChoice.
You should use this instead of delete_instance to destroy any object that handles events (generally, any control or window).
If bool is equal to 0, then the specified control will be frozen and changes will not be allowed to be made to it or any controls made upon it. If bool is equal to 1 then it reverses the effect. You can also use a sequence to enable or disable multiple windows at once with control.
Enables or disables tooltips globally.
This procedure does not work under GTK2.12 or later.
ret Index of specified item string
Returns the item number of the item in the list with the specified string.
Returns a sequence of the window's children.
Returns the desktop's window handle.
ret Object handle of the window
Returns the platform specific handle for objects derived from class wxWindow.
ret Text label of the control
Returns the default label associated with the control. This would be the caption for a wxFrame or the label on a wxButton or the text of a wxStaticText. To get the text in a wxTextCtrl, you should use get_text_value.
ret Text label of the list item
This function works for both wxListCtrl and wxListBox.
Returns the parent of the window, or NULL if there is no parent.
ret {x, y, width, height}
Returns the size and position of the control.
ret Selected index(es) of the control
Used to get the index of the selected item of a wxListBox, wxListCtrl, wxComboBox wxChoice, or wxMultiChoiceDialog. For the case of a wxListBox or wxMultiChoiceDialog. The return is always a sequence, or an empty sequence, if nothing is selected. The other types of controls return -1 is no item is selected.
ret Text of selected item
Used to get the text of the selected item of a wxListBox, wxComboBox or wxChoice.
Hit-tests a wxListCtrl, wxTreeCtrl, or wxTextCtrl.
Note: flags is unused for wxTextCtrl.
See also:
Inserts the item into the list before position. Not valid for wxLB_SORT or wxCB_SORT styles, use add_item instead.
ret Visible state of the window
Returns a 1 if the window is visible, or a zero if it is not. You can use show_window to toggle a window's visibility.
Moves the window to the given position.
Converts from screen to client window coordinates.
Changes the mouse cursor for the specified window to be the specified cursor.
See wxCursor for the available cursor shapes.
Sets the cursor to the specified window as if it had clicked on it. If it is a text control, the blinking cursor will appear at the beginning of the control where text can be entered. If it is a control, then the top selection will be highlighted. If it is a wxTreeCtrl, then the root will be highlighted.
To unselect a wxListBox item, the item parameter should be a sequence: {item_number, -1}. To unselect a wxListCtrl item, item should be {item_number, 0}. To select items for a wxMultiChoiceDialog, item should be either an index number starting from zero, or a sequence of indexes.
This sets the size of the control to the designated values. cx is the size from left to right and cy is the size from top to bottom.
Set the string of an item in a wxListBox, wxComboBox or wxChoice.
Sets the tooltip for an object derived from class wxWindow. To create multi-line tooltips, use \n under Linux/BSD, and \r\n under Windows.
Set the delay (in milliseconds) after with tooltips display.
This procedure does not work under GTK2.12 or later.