#include <ulistbox.hpp>
Inheritance diagram for ubit::UCombobox:
Public Member Functions | |
UCombobox (UListbox &, const UArgs &=UArgs::none) | |
virtual bool | isEditable () const |
virtual UCombobox & | setEditable (bool state=true) |
gets/set editing status. | |
bool | isTextMode () const |
UCombobox & | setTextMode (bool=true) |
the textfield only contains the textual part of the selected item in text mode. | |
UListbox & | list () |
UChoice & | choice () |
UGroup & | entry () |
UEdit & | edit () |
UMenu & | menu () |
gives access to combobox subcomponents. | |
Static Public Member Functions | |
static UStyle * | createStyle () |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!). | |
Protected Member Functions | |
virtual void | changed (class UEvent &) |
virtual void | action (class UEvent &) |
virtual void | openMenu (UEvent &) |
virtual void | syncText () |
Friends | |
class | UCombobox::Class |
UCombobox & | ucombobox (UListbox &, const UArgs &a=UArgs::none) |
Geometry:
List and Selection:
Callbacks
Exemple
XXX* obj = new XXX(); UListbox& list = ulistbox( ... ); // see UList UCombobox& combo = ucombobox(list, UOn::action / ucall(obj, &XXX::actionCB) + UOn::change / ucall(obj, &XXX::changeCB));
UStyle * ubit::UCombobox::createStyle | ( | ) | [static] |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).
this macro defines the UClass that corresponds to this class and:
Reimplemented from ubit::UTextfield.