[−][src]Trait libhandy4::ComboRowExt
Required methods
pub fn get_factory(&self) -> Option<ListItemFactory>
[src]
Gets the factory that's currently used to populate list items.
The factory returned by this function is always used for the
item in the button. It is also used for items in the popup
if ComboRow:list-factory
is not set.
Returns
The factory in use
pub fn get_list_factory(&self) -> Option<ListItemFactory>
[src]
Gets the factory that's currently used to populate list items in the popup.
Returns
The factory in use
pub fn get_model(&self) -> Option<ListModel>
[src]
pub fn get_selected(&self) -> u32
[src]
Gets the position of the selected item.
Returns
the position of the selected item, or GTK_INVALID_LIST_POSITION
if not item is selected
pub fn get_selected_item(&self) -> Option<Object>
[src]
pub fn get_use_subtitle(&self) -> bool
[src]
Gets whether the current value of self
should be displayed as its subtitle.
Returns
whether the current value of self
should be displayed as its subtitle
pub fn set_factory<P: IsA<ListItemFactory>>(&self, factory: Option<&P>)
[src]
Sets the gtk::ListItemFactory
to use for populating list items.
factory
the factory to use or None
for none
pub fn set_list_factory<P: IsA<ListItemFactory>>(&self, factory: Option<&P>)
[src]
Sets the gtk::ListItemFactory
to use for populating list items in the popup.
factory
the factory to use or None
for none
pub fn set_model<P: IsA<ListModel>>(&self, model: Option<&P>)
[src]
pub fn set_selected(&self, position: u32)
[src]
Selects the item at the given position.
position
the position of the item to select, or GTK_INVALID_LIST_POSITION
pub fn set_use_subtitle(&self, use_subtitle: bool)
[src]
Sets whether the current value of self
should be displayed as its subtitle.
If true
, you should not access HdyActionRow:subtitle.
use_subtitle
true
to set the current value as the subtitle
pub fn connect_property_expression_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_factory_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_list_factory_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_selected_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_selected_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_use_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ComboRow>> ComboRowExt for O
[src]
pub fn get_factory(&self) -> Option<ListItemFactory>
[src]
pub fn get_list_factory(&self) -> Option<ListItemFactory>
[src]
pub fn get_model(&self) -> Option<ListModel>
[src]
pub fn get_selected(&self) -> u32
[src]
pub fn get_selected_item(&self) -> Option<Object>
[src]
pub fn get_use_subtitle(&self) -> bool
[src]
pub fn set_factory<P: IsA<ListItemFactory>>(&self, factory: Option<&P>)
[src]
pub fn set_list_factory<P: IsA<ListItemFactory>>(&self, factory: Option<&P>)
[src]
pub fn set_model<P: IsA<ListModel>>(&self, model: Option<&P>)
[src]
pub fn set_selected(&self, position: u32)
[src]
pub fn set_use_subtitle(&self, use_subtitle: bool)
[src]
pub fn connect_property_expression_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_factory_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_list_factory_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_selected_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_selected_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_use_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId