/// callback prototype typedefvoid (*FL_COMBO_CB) (int, void*); /// pre post prototype typedefvoid (*FL_COMBO_PRE_POST) ();
/// class Combox { public: ///
Combox(combox_type t=FL_COMBOX_NORMAL); ///
~Combox();
/** To add this object to a form. Note that there are two heights
for normal (button) and expanded (browser) mode each. */ void add(int x, int y, int w, int hmin, int hmax);
/// Add lines. Same as for fl_browser object void addline(charconst*); /// Add lines. Same as for fl_browser object void addto(charconst*);
/// Returns the selected item int get();
/// Returns a pointer to the selected line of text charconst*getline();
/// Select an arbitrary item void select(int); /// bool select_text(charconst*);
/// Clear all the list void clear();
/// Is the combox cleared (empty) bool empty() { return is_empty; }
/// Remove the objects from the form they are in. void remove();
/** Assign a callback to this object. The callback should be a void
function with a int and a void pointer as parameters. */ void setcallback(FL_COMBO_CB, void *);
/// Pre handler void setpre(FL_COMBO_PRE_POST); /// Post handler void setpost(FL_COMBO_PRE_POST);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.