Struct ux::ButtonGroup [−][src]
pub struct ButtonGroup { /* fields omitted */ }
Implementations
impl ButtonGroup
[src]
impl ButtonGroup
[src]pub fn new() -> ButtonGroup
[src]
Trait Implementations
impl AsRef<ButtonGroup> for ButtonGroup
[src]
impl AsRef<ButtonGroup> for ButtonGroup
[src]pub fn as_ref(&self) -> &ButtonGroup
[src]
impl Clone for ButtonGroup
[src]
impl Clone for ButtonGroup
[src]pub fn clone(&self) -> ButtonGroup
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ButtonGroup
[src]
impl Default for ButtonGroup
[src]pub fn default() -> ButtonGroup
[src]
impl Is<ButtonGroup> for ButtonGroup
[src]
impl Is<ButtonGroup> for ButtonGroup
[src]impl Object for ButtonGroup
[src]
impl Object for ButtonGroup
[src]Auto Trait Implementations
impl !RefUnwindSafe for ButtonGroup
impl !RefUnwindSafe for ButtonGroup
impl !Send for ButtonGroup
impl !Send for ButtonGroup
impl !Sync for ButtonGroup
impl !Sync for ButtonGroup
impl Unpin for ButtonGroup
impl Unpin for ButtonGroup
impl UnwindSafe for ButtonGroup
impl UnwindSafe for ButtonGroup
Blanket Implementations
impl<O> ButtonGroupExt for O where
O: Is<ButtonGroup>,
[src]
impl<O> ButtonGroupExt for O where
O: Is<ButtonGroup>,
[src]pub fn add<P>(&self, button: &P) where
P: Is<Button>,
[src]
P: Is<Button>,
add: @group: A #ButtonGroup @button: A #Button
Add @button to the #ButtonGroup.
pub fn foreach<P>(&self, callback: P) where
P: FnMut(&Actor),
[src]
P: FnMut(&Actor),
foreach: @group: A #ButtonGroup @callback: (scope call): A #Callback @userdata: (closure): A #gpointer
Calls @callback for each button in the group.
pub fn get_active_button(&self) -> &Option<Button>
[src]
get_active_button: @group: A #ButtonGroup
Get the current active button
Returns: (transfer none): the currently active button
pub fn get_allow_no_active(&self) -> bool
[src]
get_allow_no_active: @group: A #ButtonGroup
Get the value of the #ButtonGroup:allow-no-active property.
Returns: the value of the “allow-no-active” property.
pub fn get_buttons(&self) -> &Vec<Button, Global>ⓘ
[src]
get_buttons: @group: A #ButtonGroup
Get a list of the buttons in the button group.
Returns: (element-type .Button): a list of buttons. The list is owned by the #ButtonGroup and should not be modified by the application.
pub fn remove<P>(&self, button: &P) where
P: Is<Button>,
[src]
P: Is<Button>,
remove: @group: A #ButtonGroup @button: A #Button
Remove @button from the #ButtonGroup
pub fn set_active_button<P>(&self, button: Option<&P>) where
P: Is<Button>,
[src]
P: Is<Button>,
set_active_button: @group: A #ButtonGroup @button: (allow-none): A #Button
Set the current active button in the group. The previous active button will have #Button:toggled set to #false.
pub fn set_allow_no_active(&self, allow_no_active: bool)
[src]
set_allow_no_active: @group: A #ButtonGroup @allow_no_active: A #gboolean
Set the value of the #ButtonGroup:allow-no-active property.
pub fn connect_property_active_button_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_allow_no_active_notify<F>(
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
&self,
f: F
) -> SignalHandlerId where
F: 'static + Fn(&O),
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,