Trait gtk4::prelude::ComboBoxExt
source ยท pub trait ComboBoxExt:
IsA<ComboBox>
+ Sealed
+ 'static {
Show 44 methods
// Provided 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 { ... }
}
๐Deprecated: Since 4.10
Provided Methodsยง
fn active_id(&self) -> Option<GString>
๐Deprecated: Since 4.10
fn active_iter(&self) -> Option<TreeIter>
๐Deprecated: Since 4.10
๐Deprecated: Since 4.10
fn child(&self) -> Option<Widget>
๐Deprecated: Since 4.10
fn entry_text_column(&self) -> i32
๐Deprecated: Since 4.10
fn has_entry(&self) -> bool
๐Deprecated: Since 4.10
fn id_column(&self) -> i32
๐Deprecated: Since 4.10
fn model(&self) -> Option<TreeModel>
๐Deprecated: Since 4.10
fn is_popup_fixed_width(&self) -> bool
๐Deprecated: Since 4.10
fn popdown(&self)
๐Deprecated: Since 4.10
fn popup(&self)
๐Deprecated: Since 4.10
fn popup_for_device(&self, device: &Device)
๐Deprecated: Since 4.10
fn set_active_id(&self, active_id: Option<&str>) -> bool
๐Deprecated: Since 4.10
fn set_active_iter(&self, iter: Option<&TreeIter>)
๐Deprecated: Since 4.10
๐Deprecated: Since 4.10
fn set_child(&self, child: Option<&impl IsA<Widget>>)
๐Deprecated: Since 4.10
fn set_entry_text_column(&self, text_column: i32)
๐Deprecated: Since 4.10
fn set_id_column(&self, id_column: i32)
๐Deprecated: Since 4.10
fn set_model(&self, model: Option<&impl IsA<TreeModel>>)
๐Deprecated: Since 4.10
fn set_popup_fixed_width(&self, fixed: bool)
๐Deprecated: Since 4.10
fn set_row_separator_func<P: Fn(&TreeModel, &TreeIter) -> bool + 'static>( &self, func: P, )
๐Deprecated: Since 4.10
fn has_frame(&self) -> bool
๐Deprecated: Since 4.10
fn set_has_frame(&self, has_frame: bool)
๐Deprecated: Since 4.10
fn is_popup_shown(&self) -> bool
๐Deprecated: Since 4.10
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
๐Deprecated: Since 4.10
Available on crate feature
v4_6
only.fn emit_activate(&self)
๐Deprecated: Since 4.10
Available on crate feature
v4_6
only.fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_move_active<F: Fn(&Self, ScrollType) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn emit_move_active(&self, scroll_type: ScrollType)
๐Deprecated: Since 4.10
fn connect_popdown<F: Fn(&Self) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn emit_popdown(&self) -> bool
๐Deprecated: Since 4.10
fn connect_popup<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
๐Deprecated: Since 4.10
fn emit_popup(&self)
๐Deprecated: Since 4.10
fn connect_active_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_active_id_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
๐Deprecated: Since 4.10
fn connect_child_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_entry_text_column_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_has_frame_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_id_column_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_model_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_popup_fixed_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
fn connect_popup_shown_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 4.10
Object Safetyยง
This trait is not object safe.