Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.RadioMenuItem

Class RadioMenuItem

dui.MenuItem.MenuItem
        dui.CheckMenuItem.CheckMenuItem
                dui.RadioMenuItem.RadioMenuItem

Implemented interfaces:


public class

RadioMenuItem



A menu item with two states (plus a third one) that can be mutualy exclusive with other items of the same type.
not implemented yet.

Constructor Summary
(SListG group)
          Creates a new RadioMenuItem and links it to an existing set of mutualy exclusive buttons
(SListG group, char label)
          Creates a new Radion menu item bellonging to a button group
(RadioMenuItem item)
          Creates a new radion menu item and joins it to the group of the passed button
(RadioMenuItem item, char label)
          Creates a new radio menu item and joins it to the group of the passed button
(RadioMenuItem item, char label, void function(void, void *))
          Creates a new Radio button with a label and a callback funtion

Methods Summary
public static GType getType()
          Gets this class type
SListG getGroup()
          Gets this buttons group of mutualy exclusive buttons


getType

public static GType getType()
Gets this class type

Returns:
this class type



ctor(RadioMenuItem)(SListG group)
Creates a new RadioMenuItem and links it to an existing set of mutualy exclusive buttons

Parameters:
group - the set of mutualy exclusive buttons



ctor(RadioMenuItem)(SListG group, char label)
Creates a new Radion menu item bellonging to a button group

Parameters:
group - the button group
label - the new button label text



ctor(RadioMenuItem)(RadioMenuItem item)
Creates a new radion menu item and joins it to the group of the passed button

Parameters:
item -



ctor(RadioMenuItem)(RadioMenuItem item, char label)
Creates a new radio menu item and joins it to the group of the passed button

Parameters:
item - the button on the group we will join
label - the button label text



ctor(RadioMenuItem)(RadioMenuItem item, char label, void function(void, void *))
Creates a new Radio button with a label and a callback funtion

Parameters:
item - a button from the group that the new button will join
label - the new button lavel text
func - the call back function

getGroup

SListG getGroup()
Gets this buttons group of mutualy exclusive buttons

Returns:
the group of buttons