[][src]Trait gtk::GtkWindowExt

pub trait GtkWindowExt: 'static {
    fn activate_default(&self) -> bool;
fn activate_focus(&self) -> bool;
fn activate_key(&self, event: &EventKey) -> bool;
fn add_accel_group<P: IsA<AccelGroup>>(&self, accel_group: &P);
fn add_mnemonic<P: IsA<Widget>>(&self, keyval: u32, target: &P);
fn begin_move_drag(
        &self,
        button: i32,
        root_x: i32,
        root_y: i32,
        timestamp: u32
    );
fn begin_resize_drag(
        &self,
        edge: WindowEdge,
        button: i32,
        root_x: i32,
        root_y: i32,
        timestamp: u32
    );
fn close(&self);
fn deiconify(&self);
fn fullscreen(&self);
fn fullscreen_on_monitor(&self, screen: &Screen, monitor: i32);
fn get_accept_focus(&self) -> bool;
fn get_application(&self) -> Option<Application>;
fn get_attached_to(&self) -> Option<Widget>;
fn get_decorated(&self) -> bool;
fn get_default_size(&self) -> (i32, i32);
fn get_default_widget(&self) -> Option<Widget>;
fn get_deletable(&self) -> bool;
fn get_destroy_with_parent(&self) -> bool;
fn get_focus(&self) -> Option<Widget>;
fn get_focus_on_map(&self) -> bool;
fn get_focus_visible(&self) -> bool;
fn get_gravity(&self) -> Gravity;
fn get_group(&self) -> Option<WindowGroup>;
fn get_hide_titlebar_when_maximized(&self) -> bool;
fn get_icon(&self) -> Option<Pixbuf>;
fn get_icon_list(&self) -> Vec<Pixbuf>;
fn get_icon_name(&self) -> Option<GString>;
fn get_mnemonic_modifier(&self) -> ModifierType;
fn get_mnemonics_visible(&self) -> bool;
fn get_modal(&self) -> bool;
fn get_position(&self) -> (i32, i32);
fn get_resizable(&self) -> bool;
fn get_role(&self) -> Option<GString>;
fn get_size(&self) -> (i32, i32);
fn get_skip_pager_hint(&self) -> bool;
fn get_skip_taskbar_hint(&self) -> bool;
fn get_title(&self) -> Option<GString>;
fn get_titlebar(&self) -> Option<Widget>;
fn get_transient_for(&self) -> Option<Window>;
fn get_type_hint(&self) -> WindowTypeHint;
fn get_urgency_hint(&self) -> bool;
fn get_window_type(&self) -> WindowType;
fn has_group(&self) -> bool;
fn has_toplevel_focus(&self) -> bool;
fn iconify(&self);
fn is_active(&self) -> bool;
fn is_maximized(&self) -> bool;
fn maximize(&self);
fn mnemonic_activate(&self, keyval: u32, modifier: ModifierType) -> bool;
fn move_(&self, x: i32, y: i32);
fn parse_geometry(&self, geometry: &str) -> bool;
fn present_with_time(&self, timestamp: u32);
fn propagate_key_event(&self, event: &EventKey) -> bool;
fn remove_accel_group<P: IsA<AccelGroup>>(&self, accel_group: &P);
fn remove_mnemonic<P: IsA<Widget>>(&self, keyval: u32, target: &P);
fn resize(&self, width: i32, height: i32);
fn resize_to_geometry(&self, width: i32, height: i32);
fn set_accept_focus(&self, setting: bool);
fn set_application<P: IsA<Application>>(&self, application: Option<&P>);
fn set_attached_to<P: IsA<Widget>>(&self, attach_widget: Option<&P>);
fn set_decorated(&self, setting: bool);
fn set_default<P: IsA<Widget>>(&self, default_widget: Option<&P>);
fn set_default_geometry(&self, width: i32, height: i32);
fn set_default_size(&self, width: i32, height: i32);
fn set_deletable(&self, setting: bool);
fn set_destroy_with_parent(&self, setting: bool);
fn set_focus<P: IsA<Widget>>(&self, focus: Option<&P>);
fn set_focus_on_map(&self, setting: bool);
fn set_focus_visible(&self, setting: bool);
fn set_geometry_hints<P: IsA<Widget>>(
        &self,
        geometry_widget: Option<&P>,
        geometry: Option<&Geometry>,
        geom_mask: WindowHints
    );
fn set_gravity(&self, gravity: Gravity);
fn set_has_user_ref_count(&self, setting: bool);
fn set_hide_titlebar_when_maximized(&self, setting: bool);
fn set_icon(&self, icon: Option<&Pixbuf>);
fn set_icon_from_file<P: AsRef<Path>>(
        &self,
        filename: P
    ) -> Result<(), Error>;
fn set_icon_list(&self, list: &[Pixbuf]);
fn set_icon_name(&self, name: Option<&str>);
fn set_keep_above(&self, setting: bool);
fn set_keep_below(&self, setting: bool);
fn set_mnemonic_modifier(&self, modifier: ModifierType);
fn set_mnemonics_visible(&self, setting: bool);
fn set_modal(&self, modal: bool);
fn set_position(&self, position: WindowPosition);
fn set_resizable(&self, resizable: bool);
fn set_role(&self, role: &str);
fn set_screen(&self, screen: &Screen);
fn set_skip_pager_hint(&self, setting: bool);
fn set_skip_taskbar_hint(&self, setting: bool);
fn set_startup_id(&self, startup_id: &str);
fn set_title(&self, title: &str);
fn set_titlebar<P: IsA<Widget>>(&self, titlebar: Option<&P>);
fn set_transient_for<P: IsA<Window>>(&self, parent: Option<&P>);
fn set_type_hint(&self, hint: WindowTypeHint);
fn set_urgency_hint(&self, setting: bool);
fn set_wmclass(&self, wmclass_name: &str, wmclass_class: &str);
fn stick(&self);
fn unfullscreen(&self);
fn unmaximize(&self);
fn unstick(&self);
fn get_property_default_height(&self) -> i32;
fn set_property_default_height(&self, default_height: i32);
fn get_property_default_width(&self) -> i32;
fn set_property_default_width(&self, default_width: i32);
fn get_property_has_toplevel_focus(&self) -> bool;
fn get_property_is_active(&self) -> bool;
fn get_property_is_maximized(&self) -> bool;
fn get_property_type(&self) -> WindowType;
fn get_property_window_position(&self) -> WindowPosition;
fn set_property_window_position(&self, window_position: WindowPosition);
fn connect_activate_default<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_activate_default(&self);
fn connect_activate_focus<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_activate_focus(&self);
fn connect_enable_debugging<F: Fn(&Self, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_enable_debugging(&self, toggle: bool) -> bool;
fn connect_keys_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_set_focus<F: Fn(&Self, &Widget) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_accept_focus_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_application_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_attached_to_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_decorated_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_default_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_default_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_deletable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_destroy_with_parent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_focus_on_map_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_focus_visible_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_gravity_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_toplevel_focus_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_hide_titlebar_when_maximized_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_icon_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_is_active_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_is_maximized_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_mnemonics_visible_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_modal_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_resizable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_role_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_screen_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_skip_pager_hint_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_skip_taskbar_hint_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_startup_id_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_transient_for_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_type_hint_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_urgency_hint_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_window_position_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn activate_default(&self) -> bool

fn activate_focus(&self) -> bool

fn activate_key(&self, event: &EventKey) -> bool

fn add_accel_group<P: IsA<AccelGroup>>(&self, accel_group: &P)

fn add_mnemonic<P: IsA<Widget>>(&self, keyval: u32, target: &P)

fn begin_move_drag(&self, button: i32, root_x: i32, root_y: i32, timestamp: u32)

fn begin_resize_drag(
    &self,
    edge: WindowEdge,
    button: i32,
    root_x: i32,
    root_y: i32,
    timestamp: u32
)

fn close(&self)

fn deiconify(&self)

fn fullscreen(&self)

fn fullscreen_on_monitor(&self, screen: &Screen, monitor: i32)

fn get_accept_focus(&self) -> bool

fn get_application(&self) -> Option<Application>

fn get_attached_to(&self) -> Option<Widget>

fn get_decorated(&self) -> bool

fn get_default_size(&self) -> (i32, i32)

fn get_default_widget(&self) -> Option<Widget>

fn get_deletable(&self) -> bool

fn get_destroy_with_parent(&self) -> bool

fn get_focus(&self) -> Option<Widget>

fn get_focus_on_map(&self) -> bool

fn get_focus_visible(&self) -> bool

fn get_gravity(&self) -> Gravity

fn get_group(&self) -> Option<WindowGroup>

fn get_hide_titlebar_when_maximized(&self) -> bool

fn get_icon(&self) -> Option<Pixbuf>

fn get_icon_list(&self) -> Vec<Pixbuf>

fn get_icon_name(&self) -> Option<GString>

fn get_mnemonic_modifier(&self) -> ModifierType

fn get_mnemonics_visible(&self) -> bool

fn get_modal(&self) -> bool

fn get_position(&self) -> (i32, i32)

fn get_resizable(&self) -> bool

fn get_role(&self) -> Option<GString>

fn get_size(&self) -> (i32, i32)

fn get_skip_pager_hint(&self) -> bool

fn get_skip_taskbar_hint(&self) -> bool

fn get_title(&self) -> Option<GString>

fn get_titlebar(&self) -> Option<Widget>

fn get_transient_for(&self) -> Option<Window>

fn get_type_hint(&self) -> WindowTypeHint

fn get_urgency_hint(&self) -> bool

fn get_window_type(&self) -> WindowType

fn has_group(&self) -> bool

fn has_toplevel_focus(&self) -> bool

fn iconify(&self)

fn is_active(&self) -> bool

fn is_maximized(&self) -> bool

fn maximize(&self)

fn mnemonic_activate(&self, keyval: u32, modifier: ModifierType) -> bool

fn move_(&self, x: i32, y: i32)

fn parse_geometry(&self, geometry: &str) -> bool

fn present_with_time(&self, timestamp: u32)

fn propagate_key_event(&self, event: &EventKey) -> bool

fn remove_accel_group<P: IsA<AccelGroup>>(&self, accel_group: &P)

fn remove_mnemonic<P: IsA<Widget>>(&self, keyval: u32, target: &P)

fn resize(&self, width: i32, height: i32)

fn resize_to_geometry(&self, width: i32, height: i32)

fn set_accept_focus(&self, setting: bool)

fn set_application<P: IsA<Application>>(&self, application: Option<&P>)

fn set_attached_to<P: IsA<Widget>>(&self, attach_widget: Option<&P>)

fn set_decorated(&self, setting: bool)

fn set_default<P: IsA<Widget>>(&self, default_widget: Option<&P>)

fn set_default_geometry(&self, width: i32, height: i32)

fn set_default_size(&self, width: i32, height: i32)

fn set_deletable(&self, setting: bool)

fn set_destroy_with_parent(&self, setting: bool)

fn set_focus<P: IsA<Widget>>(&self, focus: Option<&P>)

fn set_focus_on_map(&self, setting: bool)

fn set_focus_visible(&self, setting: bool)

fn set_geometry_hints<P: IsA<Widget>>(
    &self,
    geometry_widget: Option<&P>,
    geometry: Option<&Geometry>,
    geom_mask: WindowHints
)

fn set_gravity(&self, gravity: Gravity)

fn set_has_user_ref_count(&self, setting: bool)

fn set_hide_titlebar_when_maximized(&self, setting: bool)

fn set_icon(&self, icon: Option<&Pixbuf>)

fn set_icon_from_file<P: AsRef<Path>>(&self, filename: P) -> Result<(), Error>

fn set_icon_list(&self, list: &[Pixbuf])

fn set_icon_name(&self, name: Option<&str>)

fn set_keep_above(&self, setting: bool)

fn set_keep_below(&self, setting: bool)

fn set_mnemonic_modifier(&self, modifier: ModifierType)

fn set_mnemonics_visible(&self, setting: bool)

fn set_modal(&self, modal: bool)

fn set_position(&self, position: WindowPosition)

fn set_resizable(&self, resizable: bool)

fn set_role(&self, role: &str)

fn set_screen(&self, screen: &Screen)

fn set_skip_pager_hint(&self, setting: bool)

fn set_skip_taskbar_hint(&self, setting: bool)

fn set_startup_id(&self, startup_id: &str)

fn set_title(&self, title: &str)

fn set_titlebar<P: IsA<Widget>>(&self, titlebar: Option<&P>)

fn set_transient_for<P: IsA<Window>>(&self, parent: Option<&P>)

fn set_type_hint(&self, hint: WindowTypeHint)

fn set_urgency_hint(&self, setting: bool)

fn set_wmclass(&self, wmclass_name: &str, wmclass_class: &str)

fn stick(&self)

fn unfullscreen(&self)

fn unmaximize(&self)

fn unstick(&self)

fn get_property_default_height(&self) -> i32

fn set_property_default_height(&self, default_height: i32)

fn get_property_default_width(&self) -> i32

fn set_property_default_width(&self, default_width: i32)

fn get_property_has_toplevel_focus(&self) -> bool

fn get_property_is_active(&self) -> bool

fn get_property_is_maximized(&self) -> bool

fn get_property_type(&self) -> WindowType

fn get_property_window_position(&self) -> WindowPosition

fn set_property_window_position(&self, window_position: WindowPosition)

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

fn emit_activate_default(&self)

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

fn emit_activate_focus(&self)

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

fn emit_enable_debugging(&self, toggle: bool) -> bool

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Window>> GtkWindowExt for O[src]

Loading content...