Trait gtk::prelude::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_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<P: IsA<Device>>(&self, device: &P); fn set_active(&self, index_: i32); fn set_active_id<'a, P: Into<Option<&'a str>>>(&self, active_id: P) -> bool; fn set_active_iter<'a, P: Into<Option<&'a TreeIter>>>(&self, iter: P); 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_id_column(&self, id_column: i32); fn set_model<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
&self,
model: Q
); 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 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_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<P: IsA<Device>>(&self, device: &P)
fn set_active(&self, index_: i32)
fn set_active_id<'a, P: Into<Option<&'a str>>>(&self, active_id: P) -> bool
fn set_active_iter<'a, P: Into<Option<&'a TreeIter>>>(&self, iter: P)
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_id_column(&self, id_column: i32)
fn set_model<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
&self,
model: Q
)
&self,
model: Q
)
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 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
&self,
f: F
) -> u64