Trait gtk::prelude::ComboBoxExt[][src]

pub trait ComboBoxExt: 'static {
Show 52 methods fn active_id(&self) -> Option<GString>;
fn active_iter(&self) -> Option<TreeIter>;
fn button_sensitivity(&self) -> SensitivityType;
fn column_span_column(&self) -> i32;
fn entry_text_column(&self) -> i32;
fn gets_focus_on_click(&self) -> bool;
fn has_entry(&self) -> bool;
fn id_column(&self) -> i32;
fn model(&self) -> Option<TreeModel>;
fn popup_accessible(&self) -> Option<Object>;
fn is_popup_fixed_width(&self) -> bool;
fn row_span_column(&self) -> i32;
fn wrap_width(&self) -> i32;
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_column_span_column(&self, column_span: i32);
fn set_entry_text_column(&self, text_column: i32);
fn set_focus_on_click(&self, focus_on_click: bool);
fn set_id_column(&self, id_column: i32);
fn set_model<P: IsA<TreeModel>>(&self, model: Option<&P>);
fn set_popup_fixed_width(&self, fixed: bool);
fn set_row_separator_func<P: Fn(&TreeModel, &TreeIter) -> bool + 'static>(
        &self,
        func: P
    );
fn set_row_span_column(&self, row_span: i32);
fn set_wrap_width(&self, width: i32);
fn cell_area(&self) -> Option<CellArea>;
fn has_frame(&self) -> bool;
fn set_has_frame(&self, has_frame: bool);
fn is_popup_shown(&self) -> bool;
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_column_span_column_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;
fn connect_row_span_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_wrap_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

This is supported on non-crate feature v3_20 only.

fn has_entry(&self) -> bool

fn set_entry_text_column(&self, text_column: i32)

This is supported on non-crate feature v3_20 only.

fn connect_format_entry_text<F: Fn(&Self, &str) -> String + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_entry_text_column_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Implementors