gtk4::subclass::combo_box

Trait ComboBoxImpl

source
pub trait ComboBoxImpl: WidgetImpl + ObjectSubclass<Type: IsA<ComboBox>> {
    // Provided methods
    fn activate(&self) { ... }
    fn changed(&self) { ... }
    fn format_entry_text(&self, path: &str) -> Option<GString> { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

source

fn activate(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
Available on crate feature v4_6 only.
source

fn changed(&self)

๐Ÿ‘ŽDeprecated: Since 4.10

Signal is emitted when the active item is changed.

source

fn format_entry_text(&self, path: &str) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 4.10

Signal which allows you to change how the text displayed in a combo boxโ€™s entry is displayed.

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง