Window
Object Hierarchy:
Description:
[ CCode ( type_id = "gdk_x11_window_get_type ()" ) ]
[ GIR ( name = "X11Window" ) ]
public sealed class Window : Window
[ GIR ( name = "X11Window" ) ]
public sealed class Window : Window
Namespace: Gdk.X11
Package: gdk-x11-3.0
Content:
Static methods:
- public static unowned Window lookup_for_display (Display display, Window window)
Looks up the Window that wraps the given native window handle.
Creation methods:
- protected Window ()
- public Window.foreign_for_display (Display display, Window window)
Wraps a native window in a Window.
Methods:
- public uint32 get_desktop ()
Gets the number of the workspace this is on.
- public Window get_xid ()
Returns the X resource (window) belonging to a Window.
- public void move_to_current_desktop ()
Moves the window to the correct workspace when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints specification.
- public void move_to_desktop (uint32 desktop)
Moves the window to the given workspace when running unde a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints specification.
- public void set_frame_extents (int left, int right, int top, int bottom)
This is the same as set_shadow_width but it only works on GdkX11Window.
- public void set_frame_sync_enabled (bool frame_sync_enabled)
This function can be used to disable frame synchronization for a window.
- public void set_hide_titlebar_when_maximized (bool hide_titlebar_when_maximized)
Set a hint for the window manager, requesting that the titlebar should be hidden when the window is maximized.
- public void set_theme_variant (string variant)
GTK+ applications can request a dark theme variant.
- public void set_user_time (uint32 timestamp)
The application can use this call to update the _NET_WM_USER_TIME property on a toplevel window.
- public void set_utf8_property (string name, string? value)
This function modifies or removes an arbitrary X11 window property of type UTF8_STRING.
Inherited Members:
All known members inherited from class Gdk.Window
- add_filter
- at_pointer
- beep
- begin_draw_frame
- begin_move_drag
- begin_move_drag_for_device
- begin_paint_rect
- begin_paint_region
- begin_resize_drag
- begin_resize_drag_for_device
- configure_finished
- constrain_size
- coords_from_parent
- coords_to_parent
- create_gl_context
- create_similar_image_surface
- create_similar_surface
- create_surface
- cursor
- deiconify
- destroy
- enable_synchronized_configure
- end_draw_frame
- end_paint
- ensure_native
- flush
- focus
- freeze_toplevel_updates_libgtk_only
- freeze_updates
- from_embedder
- fullscreen
- fullscreen_on_monitor
- geometry_changed
- get_accept_focus
- get_background_pattern
- get_children
- get_children_with_user_data
- get_clip_region
- get_composited
- get_cursor
- get_decorations
- get_device_cursor
- get_device_events
- get_device_position
- get_device_position_double
- get_display
- get_drag_protocol
- get_effective_parent
- get_effective_toplevel
- get_event_compression
- get_events
- get_focus_on_map
- get_frame_clock
- get_frame_extents
- get_fullscreen_mode
- get_geometry
- get_group
- get_height
- get_modal_hint
- get_origin
- get_parent
- get_pass_through
- get_pointer
- get_position
- get_root_coords
- get_root_origin
- get_scale_factor
- get_screen
- get_source_events
- get_state
- get_support_multidevice
- get_toplevel
- get_type_hint
- get_update_area
- get_user_data
- get_visible_region
- get_visual
- get_width
- get_window_type
- has_native
- hide
- iconify
- input_shape_combine_region
- invalidate_maybe_recurse
- invalidate_rect
- invalidate_region
- is_destroyed
- is_input_only
- is_shaped
- is_viewable
- is_visible
- lower
- mark_paint_from_clip
- maximize
- merge_child_input_shapes
- merge_child_shapes
- move
- move_region
- move_resize
- move_to_rect
- moved_to_rect
- peek_children
- pick_embedded_child
- process_all_updates
- process_updates
- raise
- register_dnd
- remove_filter
- reparent
- resize
- restack
- scroll
- set_accept_focus
- set_background
- set_background_pattern
- set_background_rgba
- set_child_input_shapes
- set_child_shapes
- set_composited
- set_cursor
- set_debug_updates
- set_decorations
- set_device_cursor
- set_device_events
- set_event_compression
- set_events
- set_focus_on_map
- set_fullscreen_mode
- set_functions
- set_geometry_hints
- set_group
- set_icon_list
- set_icon_name
- set_keep_above
- set_keep_below
- set_modal_hint
- set_opacity
- set_opaque_region
- set_override_redirect
- set_pass_through
- set_role
- set_shadow_width
- set_skip_pager_hint
- set_skip_taskbar_hint
- set_source_events
- set_startup_id
- set_static_gravities
- set_support_multidevice
- set_title
- set_transient_for
- set_type_hint
- set_urgency_hint
- set_user_data
- shape_combine_region
- show
- show_unraised
- show_window_menu
- stick
- thaw_toplevel_updates_libgtk_only
- thaw_updates
- to_embedder
- unfullscreen
- unmaximize
- unstick
- withdraw
All known members inherited from class GLib.Object