Combo Class Reference

Inheritance diagram for Combo:

HBox List of all members.

Detailed Description

A combo box.


Public Member Functions

 this ()
 Creates a new empty combo box.

void addItem (Widget item)
 Adds a widget item to this combo.

void addItem (Widget item, char[] itemString)
 Adds a widget item to this combo and sets the item string.

List getList ()
 Gets this combo list.

void setList (List list)
 Sets this combo list.

Entry getEntry ()
 Gets this combo entry.

char[] getSelectedText ()
 Gets the selected text of the combo box.

void setText (char[] str)
 Sets the seletect text of the combo box.

void setStrings (char[][] strings)
 Sets the list of the combo box.

void appendString (char[] str)
void setStrings (ListG list)
 Sets the list of the combo box.

void setItemString (Widget item, char[] str)
 Sets the idem string to display on the entry widget of the combo box.

void useArrows (bit use)
 Set the use arrows flags.

void useArrowsAlways (bit use)
 Sets the user arrows always flags.

void caseSensitive (bit sensitive)
 Sets if the combo box is case sensitive.

void disableActivate ()
 Do not show the drop down list whe the enter key is pressed.


Member Function Documentation

void Combo.addItem Widget  item,
char[]  itemString
 

Adds a widget item to this combo and sets the item string.

Parameters:
item the widget to add
itemString the item string

void Combo.addItem Widget  item  ) 
 

Adds a widget item to this combo.

Parameters:
item the widget to add

void Combo.appendString char[]  str  ) 
 

Todo:
pre/appendsString

void Combo.caseSensitive bit  sensitive  ) 
 

Sets if the combo box is case sensitive.

Parameters:
sensitive 

void Combo.disableActivate  ) 
 

Do not show the drop down list whe the enter key is pressed.

Entry Combo.getEntry  ) 
 

Gets this combo entry.

Returns:
the combo entry

List Combo.getList  ) 
 

Gets this combo list.

Returns:
the combo list

char [] Combo.getSelectedText  ) 
 

Gets the selected text of the combo box.

Returns:
the selected text

void Combo.setItemString Widget  item,
char[]  str
 

Sets the idem string to display on the entry widget of the combo box.

Parameters:
item the item to which we want to set the string
str the string to display for the item

void Combo.setList List  list  ) 
 

Sets this combo list.

Parameters:
list the new combo list

void Combo.setStrings ListG  list  ) 
 

Sets the list of the combo box.

Parameters:
list the string list

void Combo.setStrings char  strings[][]  ) 
 

Sets the list of the combo box.

Parameters:
strings and array of strings

void Combo.setText char[]  str  ) 
 

Sets the seletect text of the combo box.

Parameters:
str 

Combo.this  ) 
 

Creates a new empty combo box.

void Combo.useArrows bit  use  ) 
 

Set the use arrows flags.

Parameters:
use 

void Combo.useArrowsAlways bit  use  ) 
 

Sets the user arrows always flags.

Parameters:
use 


Generated on Sun Dec 21 02:47:09 2003 for DUI by doxygen 1.3.4