Window
Object Hierarchy:
Description:
[ CCode ( type_id = "mx_window_get_type ()" ) ]
public class Window : Object
The contents of this structure is private and should only be accessed using the provided API.
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public unowned Actor get_child ()
Get the primary child of the window.
- public unowned Stage get_clutter_stage ()
Gets the Stage managed by the window.
- public bool get_fullscreen ()
Determines if the window has been set to be in fullscreen mode.
- public bool get_has_toolbar ()
Determines whether the window has a toolbar or not.
- public unowned string get_icon_name ()
Gets the currently set window icon name.
- public bool get_small_screen ()
Determines if the window is in small-screen mode.
- public unowned string get_title ()
Retrieves the title used for the window.
- public unowned Toolbar get_toolbar ()
Retrieves the toolbar associated with the window.
- public void get_window_position (out int x, out int y)
Retrieves the absolute position of the window on the screen.
- public WindowRotation get_window_rotation ()
Retrieve the rotation of the window.
- public void get_window_size (out int width, out int height)
Retrieves the size of the display area of the window, taking into
account any window border.
- public void hide ()
Hide the window
- public void present ()
Present the window.
- public void set_child (Actor actor)
Adds actor
to the window and sets it as the primary
child.
- public void set_fullscreen (bool fullscreen)
Set the window to be in fullscreen mode or windowed mode.
- public void set_has_toolbar (bool toolbar)
Sets whether the window has a toolbar or not.
- public void set_icon_from_cogl_texture (Handle texture)
Sets the window icon from a texture.
- public void set_icon_name (string? icon_name)
Set an icon-name to use for the window icon.
- public void set_small_screen (bool small_screen)
Enables or disables small-screen mode.
- public void set_title (string title)
Sets the title used for the window, the results of which are
window-system specific.
- public void set_toolbar (Toolbar toolbar)
Sets the toolbar associated with the window.
- public void set_window_position (int x, int y)
Sets the absolute position of the window on the screen.
- public void set_window_rotation (WindowRotation rotation)
Set the rotation of the window.
- public void set_window_size (int width, int height)
Sets the size of the window, taking into account any window border.
- public void show ()
Show the window
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref