ubit::UCombobox Class Reference

Combo box gadget. More...

#include <ulistbox.hpp>

Inheritance diagram for ubit::UCombobox:

ubit::UTextfield ubit::UTextbox ubit::UBox ubit::UGroup ubit::UControl ubit::UBrick ubit::UObject List of all members.

Public Member Functions

 UCombobox (UListbox &, const UArgs &=UArgs::none)
virtual bool isEditable () const
virtual UComboboxsetEditable (bool state=true)
 gets/set editing status.
bool isTextMode () const
UComboboxsetTextMode (bool=true)
 the textfield only contains the textual part of the selected item in text mode.
UListboxlist ()
UChoicechoice ()
UGroupentry ()
UEditedit ()
UMenumenu ()
 gives access to combobox subcomponents.

Static Public Member Functions

static UStylecreateStyle ()
 < 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
UComboboxucombobox (UListbox &, const UArgs &a=UArgs::none)

Detailed Description

Combo box gadget.

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));
 


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 00:20:52 2007 for Ubit by  doxygen 1.4.7