Struct gtk::Window [−]
pub struct Window(_, _);
Methods
impl Window
[src]
impl Window
pub fn new(type_: WindowType) -> Window
[src]
pub fn new(type_: WindowType) -> Window
pub fn get_default_icon_list() -> Vec<Pixbuf>
[src]
pub fn get_default_icon_list() -> Vec<Pixbuf>
pub fn get_default_icon_name() -> Option<String>
[src]
pub fn get_default_icon_name() -> Option<String>
pub fn list_toplevels() -> Vec<Widget>
[src]
pub fn list_toplevels() -> Vec<Widget>
pub fn set_auto_startup_notification(setting: bool)
[src]
pub fn set_auto_startup_notification(setting: bool)
pub fn set_default_icon(icon: &Pixbuf)
[src]
pub fn set_default_icon(icon: &Pixbuf)
pub fn set_default_icon_from_file<P: AsRef<Path>>(
filename: P
) -> Result<(), Error>
[src]
pub fn set_default_icon_from_file<P: AsRef<Path>>(
filename: P
) -> Result<(), Error>
pub fn set_default_icon_list(list: &[Pixbuf])
[src]
pub fn set_default_icon_list(list: &[Pixbuf])
pub fn set_default_icon_name(name: &str)
[src]
pub fn set_default_icon_name(name: &str)
Trait Implementations
impl IsA<Window> for AboutDialog
impl IsA<Window> for AboutDialog
impl IsA<Window> for AppChooserDialog
impl IsA<Window> for AppChooserDialog
impl IsA<Window> for ApplicationWindow
impl IsA<Window> for ApplicationWindow
impl IsA<Window> for Assistant
impl IsA<Window> for Assistant
impl IsA<Window> for ColorChooserDialog
impl IsA<Window> for ColorChooserDialog
impl IsA<Window> for Dialog
impl IsA<Window> for Dialog
impl IsA<Window> for FileChooserDialog
impl IsA<Window> for FileChooserDialog
impl IsA<Window> for FontChooserDialog
impl IsA<Window> for FontChooserDialog
impl IsA<Window> for MessageDialog
impl IsA<Window> for MessageDialog
impl IsA<Window> for OffscreenWindow
impl IsA<Window> for OffscreenWindow
impl IsA<Window> for Plug
impl IsA<Window> for Plug
impl IsA<Window> for RecentChooserDialog
impl IsA<Window> for RecentChooserDialog
impl Clone for Window
impl Clone for Window
fn clone(&self) -> Window
fn clone(&self) -> Window
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for Window
impl Hash for Window
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for Window
impl Ord for Window
fn cmp(&self, other: &Window) -> Ordering
fn cmp(&self, other: &Window) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for Window
impl StaticType for Window
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Window
impl<T: IsA<Object>> PartialEq<T> for Window
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Window
impl Eq for Window
impl<T: IsA<Object>> PartialOrd<T> for Window
impl<T: IsA<Object>> PartialOrd<T> for Window
fn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for Window
impl Debug for Window
impl IsA<Bin> for Window
impl IsA<Bin> for Window
impl IsA<Container> for Window
impl IsA<Container> for Window
impl IsA<Widget> for Window
impl IsA<Widget> for Window
impl IsA<Buildable> for Window
impl IsA<Buildable> for Window
impl IsA<Object> for Window
impl IsA<Object> for Window