Trait gtk::ComboBoxExt
[−]
[src]
pub trait ComboBoxExt { fn get_active(&self) -> i32; fn get_active_id(&self) -> Option<String>; fn get_active_iter(&self) -> Option<TreeIter>; fn get_add_tearoffs(&self) -> bool; fn get_button_sensitivity(&self) -> SensitivityType; fn get_column_span_column(&self) -> i32; fn get_entry_text_column(&self) -> i32; fn get_focus_on_click(&self) -> bool; fn get_has_entry(&self) -> bool; fn get_id_column(&self) -> i32; fn get_model(&self) -> Option<TreeModel>; fn get_popup_fixed_width(&self) -> bool; fn get_row_span_column(&self) -> i32; fn get_title(&self) -> Option<String>; fn get_wrap_width(&self) -> i32; fn popdown(&self); fn popup(&self); fn popup_for_device<T: IsA<Device>>(&self, device: &T); fn set_active(&self, index_: i32); fn set_active_id<'a, T: Into<Option<&'a str>>>(&self, active_id: T) -> bool; fn set_active_iter(&self, iter: Option<&TreeIter>); fn set_add_tearoffs(&self, add_tearoffs: bool); fn set_button_sensitivity(&self, sensitivity: SensitivityType); fn set_column_span_column(&self, column_span: i32); fn set_entry_text_column(&self, text_column: i32); fn set_focus_on_click(&self, focus_on_click: bool); fn set_id_column(&self, id_column: i32); fn set_model<T: IsA<TreeModel>>(&self, model: Option<&T>); fn set_popup_fixed_width(&self, fixed: bool); fn set_row_span_column(&self, row_span: i32); fn set_title(&self, title: &str); fn set_wrap_width(&self, width: i32); fn get_property_cell_area(&self) -> Option<CellArea>; fn set_property_cell_area(&self, cell_area: Option<&CellArea>); fn set_property_has_entry(&self, has_entry: bool); fn get_property_has_frame(&self) -> bool; fn set_property_has_frame(&self, has_frame: bool); fn get_property_popup_shown(&self) -> bool; fn get_property_tearoff_title(&self) -> Option<String>; fn set_property_tearoff_title(&self, tearoff_title: Option<&str>); fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>(&self,
f: F)
-> u64; fn connect_move_active<F: Fn(&Self, ScrollType) + 'static>(&self,
f: F)
-> u64; fn connect_popdown<F: Fn(&Self) -> bool + 'static>(&self, f: F) -> u64; fn connect_popup<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
Required Methods
fn get_active(&self) -> i32
fn get_active_id(&self) -> Option<String>
fn get_active_iter(&self) -> Option<TreeIter>
fn get_add_tearoffs(&self) -> bool
fn get_column_span_column(&self) -> i32
fn get_entry_text_column(&self) -> i32
fn get_focus_on_click(&self) -> bool
fn get_has_entry(&self) -> bool
fn get_id_column(&self) -> i32
fn get_model(&self) -> Option<TreeModel>
fn get_popup_fixed_width(&self) -> bool
fn get_row_span_column(&self) -> i32
fn get_title(&self) -> Option<String>
fn get_wrap_width(&self) -> i32
fn popdown(&self)
fn popup(&self)
fn popup_for_device<T: IsA<Device>>(&self, device: &T)
fn set_active(&self, index_: i32)
fn set_active_id<'a, T: Into<Option<&'a str>>>(&self, active_id: T) -> bool
fn set_active_iter(&self, iter: Option<&TreeIter>)
fn set_add_tearoffs(&self, add_tearoffs: bool)
fn set_column_span_column(&self, column_span: i32)
fn set_entry_text_column(&self, text_column: i32)
fn set_focus_on_click(&self, focus_on_click: bool)
fn set_id_column(&self, id_column: i32)
fn set_model<T: IsA<TreeModel>>(&self, model: Option<&T>)
fn set_popup_fixed_width(&self, fixed: bool)
fn set_row_span_column(&self, row_span: i32)
fn set_title(&self, title: &str)
fn set_wrap_width(&self, width: i32)
fn get_property_cell_area(&self) -> Option<CellArea>
fn set_property_cell_area(&self, cell_area: Option<&CellArea>)
fn set_property_has_entry(&self, has_entry: bool)
fn get_property_has_frame(&self) -> bool
fn set_property_has_frame(&self, has_frame: bool)
fn get_property_popup_shown(&self) -> bool
fn get_property_tearoff_title(&self) -> Option<String>
fn set_property_tearoff_title(&self, tearoff_title: Option<&str>)
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>(&self,
f: F)
-> u64
f: F)
-> u64