Trait gtk4::prelude::ComboBoxExt
source · [−]pub trait ComboBoxExt: 'static {
Show 44 methods
fn active_id(&self) -> Option<GString>;
fn active_iter(&self) -> Option<TreeIter>;
fn button_sensitivity(&self) -> SensitivityType;
fn child(&self) -> Option<Widget>;
fn entry_text_column(&self) -> i32;
fn has_entry(&self) -> bool;
fn id_column(&self) -> i32;
fn model(&self) -> Option<TreeModel>;
fn is_popup_fixed_width(&self) -> bool;
fn popdown(&self);
fn popup(&self);
fn popup_for_device(&self, device: &Device);
fn set_active_id(&self, active_id: Option<&str>) -> bool;
fn set_active_iter(&self, iter: Option<&TreeIter>);
fn set_button_sensitivity(&self, sensitivity: SensitivityType);
fn set_child(&self, child: Option<&impl IsA<Widget>>);
fn set_entry_text_column(&self, text_column: i32);
fn set_id_column(&self, id_column: i32);
fn set_model(&self, model: Option<&impl IsA<TreeModel>>);
fn set_popup_fixed_width(&self, fixed: bool);
fn set_row_separator_func<P: Fn(&TreeModel, &TreeIter) -> bool + 'static>(
&self,
func: P
);
fn has_frame(&self) -> bool;
fn set_has_frame(&self, has_frame: bool);
fn is_popup_shown(&self) -> bool;
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_activate(&self);
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_move_active<F: Fn(&Self, ScrollType) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn emit_move_active(&self, scroll_type: ScrollType);
fn connect_popdown<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn emit_popdown(&self) -> bool;
fn connect_popup<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_popup(&self);
fn connect_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_active_id_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_button_sensitivity_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_entry_text_column_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_has_frame_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_id_column_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_popup_fixed_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_popup_shown_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn active_iter(&self) -> Option<TreeIter>
source
fn entry_text_column(&self) -> i32
source
fn is_popup_fixed_width(&self) -> bool
source
fn popup_for_device(&self, device: &Device)
source
fn set_active_id(&self, active_id: Option<&str>) -> bool
source
fn set_active_iter(&self, iter: Option<&TreeIter>)
source
fn set_entry_text_column(&self, text_column: i32)
source
fn set_id_column(&self, id_column: i32)
source
fn set_popup_fixed_width(&self, fixed: bool)
source
fn set_has_frame(&self, has_frame: bool)
source
fn is_popup_shown(&self) -> bool
sourcefn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v4_6
only.sourcefn emit_activate(&self)
fn emit_activate(&self)
Available on crate feature
v4_6
only.source
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>(
fn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_move_active<F: Fn(&Self, ScrollType) + 'static>(
fn connect_move_active<F: Fn(&Self, ScrollType) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn emit_move_active(&self, scroll_type: ScrollType)
sourcefn connect_popdown<F: Fn(&Self) -> bool + 'static>(
fn connect_popdown<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn emit_popdown(&self) -> bool
source
fn connect_popup<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn emit_popup(&self)
source
fn connect_active_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_active_id_notify<F: Fn(&Self) + 'static>(
fn connect_active_id_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_child_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_entry_text_column_notify<F: Fn(&Self) + 'static>(
fn connect_entry_text_column_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_has_frame_notify<F: Fn(&Self) + 'static>(
fn connect_has_frame_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_id_column_notify<F: Fn(&Self) + 'static>(
fn connect_id_column_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_model_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_popup_fixed_width_notify<F: Fn(&Self) + 'static>(
fn connect_popup_fixed_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_popup_shown_notify<F: Fn(&Self) + 'static>(