DropComboCheckΒΆ
class DropComboCheck
The base class for dropping check list widgets
DropComboCheck widgets contain a CheckList and a combo Edit, so you can either click the drop
list to select item, or write into the edit.
Note: the setvalue method must be implemented to react to the user typing. No doing so results in the widget being in an undefined state until the drop list is open or the widget is updated.
Note: the setvalue method must be implemented to react to the user typing. No doing so results in the widget being in an undefined state until the drop list is open or the widget is updated.
Hierarchy
class DropComboCheck < class DropCheck < class Window
Children classes : class DropComboToggleCheck
Members
Constructors:
| create | ( ) | Create a DropComboCheck widget |
Inherited from class DropCheck
Constructors:
| create | ( ) | Create a DropCheck widget |
Methods:
| close | ( ) | Forcefully close the drop check list |
| getitems | ( ) | Callback when the widget needs the list of items in the drop list, see also CheckList |
| getitemstate | ( ) | Callback when the widget needs the state of itemns in the drop list, see also CheckList |
| getvalue | ( ) | Callback when the widget needs the value displayed in the text box |
| itemclicked | ( ) | Callback when the user clicked an item in the drop list, see also CheckList |
| open | ( ) | Forcefully open the drop check list |
| setvalue | ( ) | Callback when the user sets the combo value |
| update | ( ) | Update the whole widget |
Inherited from class Window
Methods:
| destroy | ( ) | Destroy the window and all its children windows |
| setx | (
|
Set the X window placement |
| sety | (
|
Set the Y window placement |
| setw | (
|
Set the window width |
| seth | (
|
Set the window height |
| getx | ( ) | Get the window X coordinate in the parent space |
| gety | ( ) | Get the window Y coordinate in the parent space |
| getw | ( ) | Get the window width |
| geth | ( ) | Get the window height |
| hide | ( ) | Hide the window |
| show | ( ) | Show the window |
| disable | ( ) | Disable the window |
| enable | ( ) | Enable the window |
| getnodepath | ( ) | Returns the edited node path (is nil if the method is not supported) |
| setnodepath | (
|
|
| addtracker | (
|
Add a tracker to this window. A tracker receives notification when the tracked window is invalidated or destroyed. A tracker may implement onTrackedDestroyed and onTrackedInvalidated to get notifications on such events |
| removetracker | (
|
Remove a tracker of this window. |
| setcolor | (
|
Change the window color, see also ui.color function |
| getparent | (
|
Get the first parent window of given class (immediate parent if no class is provided) |
| settopmost | ( ) | Set the window as top most in children order |
| getchild | (
|
Get a child window |
| getcontainer | ( ) | Get the main container of a window |
| settitle | (
|
Change the window title |
| setfocus | ( ) | Set the focus to the window |
| getroot | ( ) | Return the root window of this window |