pub trait ComboBoxExtManual: IsA<ComboBox> + 'static {
// Provided methods
fn unset_row_separator_func(&self) { ... }
fn set_active(&self, index_: Option<u32>) { ... }
fn active(&self) -> Option<u32> { ... }
}
👎Deprecated: Since 4.10
Expand description
Trait containing manually implemented methods of
ComboBox
.
Provided Methods§
fn unset_row_separator_func(&self)
👎Deprecated: Since 4.10
Sourcefn set_active(&self, index_: Option<u32>)
👎Deprecated: Since 4.10
fn set_active(&self, index_: Option<u32>)
Sourcefn active(&self) -> Option<u32>
👎Deprecated: Since 4.10
fn active(&self) -> Option<u32>
Returns the index of the currently active item.
If the model is a non-flat treemodel, and the active item is not
an immediate child of the root of the tree, this function returns
gtk_tree_path_get_indices (path)[0]
, where path
is the
TreePath
of the active item.
§Deprecated since 4.10
Use DropDown
§Returns
An integer which is the index of the currently active item, or -1 if there’s no active item
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.