ToggleButton Class Reference

Inheritance diagram for ToggleButton:

Button CheckButton OptionMenu RadioButton List of all members.

Detailed Description

A Toggle Button.


Public Member Functions

 this ()
 Creates a new toggle button.

 this (char[] label)
 Creates a new toggle button with a label.

void setMode (gboolean drawIndicator)
 Set the mode (whatever that is).

bit getMode ()
 Get the mode (whatever that is).

void setActive (bit isActive)
 Set the button state.

bit getActive ()
 Get the state of the button.

void toggled ()
 Do something (change the state?).

void setInconsistent (bit setting)
 Sets the inconsistent state.

bit getInconsistent ()
 Check is the state is neither true or false.


Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

bit ToggleButton.getActive  ) 
 

Get the state of the button.

Returns:
the button state as true or false

bit ToggleButton.getInconsistent  ) 
 

Check is the state is neither true or false.

Returns:
true if the state is inconsistene

bit ToggleButton.getMode  ) 
 

Get the mode (whatever that is).

GType ToggleButton.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Widget.

Reimplemented in OptionMenu, and RadioButton.

void ToggleButton.setActive bit  isActive  ) 
 

Set the button state.

Parameters:
isActive the new state

void ToggleButton.setInconsistent bit  setting  ) 
 

Sets the inconsistent state.

Parameters:
setting the new state

void ToggleButton.setMode gboolean  drawIndicator  ) 
 

Set the mode (whatever that is).

ToggleButton.this char[]  label  ) 
 

Creates a new toggle button with a label.

Reimplemented from Button.

Reimplemented in CheckButton.

ToggleButton.this  ) 
 

Creates a new toggle button.

Reimplemented from Button.

Reimplemented in CheckButton, and OptionMenu.

void ToggleButton.toggled  ) 
 

Do something (change the state?).


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