CheckMenuItem Class Reference

Inheritance diagram for CheckMenuItem:

RadioMenuItem List of all members.

Detailed Description

Check menu item.


Public Member Functions

 this ()
 Create a new check menu item.
 this (String label)
 Creates a new check menu item with a label.
 this (MenuItemListener listener, String label, String action)
 Creates a new check menu item with a label an action and set the MenuItemListener.
 this (char[] label, void delegate(MenuItem) dlg)
 Creates a new menu item with a label and a listener.
 this (char[] label, void delegate(MenuItem) dlg, char[] action)
 Creates a new menu item with a label and a listener and a action.
bit getActive ()
 Gets the current active state.
void setActive (bit active)
 Sets the active state.
void setShowToggle (bit always)
 Sets the show toggle policy.
void toggled ()
 Toggles the button state.
gboolean getInconsistent ()
 Gets the inconsistent state.
void setInconsistent (bit setting)
 Sets the inconsisten state.


Member Function Documentation

bit CheckMenuItem.getActive  ) 
 

Gets the current active state.

Returns:
the current active state

gboolean CheckMenuItem.getInconsistent  ) 
 

Gets the inconsistent state.

Returns:
true the the state is inconsistent

void CheckMenuItem.setActive bit  active  ) 
 

Sets the active state.

Parameters:
active the active state

void CheckMenuItem.setInconsistent bit  setting  ) 
 

Sets the inconsisten state.

Parameters:
setting the bew inconsistent state

void CheckMenuItem.setShowToggle bit  always  ) 
 

Sets the show toggle policy.

Parameters:
always 

CheckMenuItem.this char[]  label,
void delegate(MenuItem)  dlg,
char[]  action
 

Creates a new menu item with a label and a listener and a action.

CheckMenuItem.this char[]  label,
void delegate(MenuItem)  dlg
 

Creates a new menu item with a label and a listener.

CheckMenuItem.this MenuItemListener  listener,
String  label,
String  action
 

Creates a new check menu item with a label an action and set the MenuItemListener.

Parameters:
listener the menu item MenuItemListener
label the item label text
action the item action text

CheckMenuItem.this String  label  ) 
 

Creates a new check menu item with a label.

Parameters:
label the label text

CheckMenuItem.this  ) 
 

Create a new check menu item.

void CheckMenuItem.toggled  ) 
 

Toggles the button state.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo