Top | ![]() |
![]() |
![]() |
![]() |
MxButtonGroup * | mx_button_group_new () |
void | mx_button_group_add () |
void | mx_button_group_remove () |
void | mx_button_group_foreach () |
void | mx_button_group_set_active_button () |
MxButton * | mx_button_group_get_active_button () |
void | mx_button_group_set_allow_no_active () |
gboolean | mx_button_group_get_allow_no_active () |
const GSList * | mx_button_group_get_buttons () |
void mx_button_group_add (MxButtonGroup *group
,MxButton *button
);
Add button
to the MxButtonGroup.
void mx_button_group_remove (MxButtonGroup *group
,MxButton *button
);
Remove button
from the MxButtonGroup
void mx_button_group_foreach (MxButtonGroup *group
,ClutterCallback callback
,gpointer userdata
);
Calls callback
for each button in the group.
void mx_button_group_set_active_button (MxButtonGroup *group
,MxButton *button
);
Set the current active button in the group. The previous active button will have “toggled” set to FALSE.
MxButton *
mx_button_group_get_active_button (MxButtonGroup *group
);
Get the current active button
void mx_button_group_set_allow_no_active (MxButtonGroup *group
,gboolean allow_no_active
);
Set the value of the “allow-no-active” property.
gboolean
mx_button_group_get_allow_no_active (MxButtonGroup *group
);
Get the value of the “allow-no-active” property.
const GSList *
mx_button_group_get_buttons (MxButtonGroup *group
);
Get a list of the buttons in the button group.
a list of buttons. The list is owned by the MxButtonGroup and should not be modified by the application.
[element-type Mx.Button]
struct MxButtonGroup;
The contents of this structure are private and should only be accessed through the public API.
“active-button”
property“active-button” MxButton *
The currently active (toggled) button.
Owner: MxButtonGroup
Flags: Read / Write
“allow-no-active”
property“allow-no-active” gboolean
Allow no buttons to be active (toggled).
Owner: MxButtonGroup
Flags: Read / Write
Default value: FALSE