Gtk-- Reference: Gdk_Window

Class Index | Cross Index | Namespace Index

# Class Gdk_Window

Gdk Window Handle
Contained in: global
Derived from: Gdk_Drawable
Derived by: none

#include <gtk--/window.h>

### public function member index:
`` | `Gdk_Window` | `()`;
`` | `Gdk_Window` | `(`GdkWindow`* `win`)`;
`` | `Gdk_Window` | `(`const` `Gdk_Window`& `win`)`;
`` | `Gdk_Window` | `(`const` `Gdk_Window`& `parent`, `const` `Gdk_WindowAttr`& `attributes`, `gint` `attributes_mask`)`;
`` | `Gdk_Window` | `(`const` `Gdk_WindowAttr`& `attributes`, `gint` `attributes_mask`)`;
``void`` | `add_filter` | `(`GdkFilterFunc` `function`, `gpointer` `data`)`;
``void`` | `clear` | `()`;
``void`` | `clear_area` | `(`gint` `x`, `gint` `y`, `gint` `width`, `gint` `height`)`;
``void`` | `clear_area_e` | `(`gint` `x`, `gint` `y`, `gint` `width`, `gint` `height`)`;
``void`` | `copy_area` | `(`Gdk_GC`& `gc`, `gint` `x`, `gint` `y`, `Gdk_Window`& `source_window`, `gint` `source_x`, `gint` `source_y`, `gint` `width`, `gint` `height`)`;
``void`` | `create` | `(`const` `Gdk_Window`& `parent`, `const` `Gdk_WindowAttr`& `attributes`, `gint` `attributes_mask`)`;
`iterator` | `get_children_begin` | `()`;
`iterator` | `get_children_end` | `()`;
``Gdk_Colormap`` | `get_colormap` | `()`;
``gint`` | `get_depth` | `()`;
``gint`` | `get_deskrelative_origin` | `(`gint`& `x`, `gint`& `y`)`;
``GdkEventMask`` | `get_events` | `()`;
``void`` | `get_geometry` | `(`gint`& `x`, `gint`& `y`, `gint`& `width`, `gint`& `height`, `gint`& `depth`)`;
``gint`` | `get_origin` | `(`gint`& `x`, `gint`& `y`)`;
``Gdk_Window`` | `get_parent` | `()`;
``Gdk_Window`` | `get_pointer` | `(`gint`& `x`, `gint`& `y`, `GdkModifierType`& `mask`)`;
``void`` | `get_position` | `(`gint`& `x`, `gint`& `y`)`;
``void`` | `get_root_origin` | `(`gint`& `x`, `gint`& `y`)`;
``void`` | `get_size` | `(`gint`& `width`, `gint`& `height`)`;
``Gdk_Window`` | `get_toplevel` | `()`;
`iterator` | `get_toplevels_begin` | `(`void`)`;
`iterator` | `get_toplevels_end` | `(`void`)`;
``GdkWindowType`` | `get_type` | `()`;
``void`` | `get_user_data` | `(`gpointer`* `data`)`;
``Gdk_Visual`` | `get_visual` | `()`;
``void`` | `hide` | `()`;
``void`` | `lower` | `()`;
``void`` | `move` | `(`gint` `x`, `gint` `y`)`;
``void`` | `move_resize` | `(`gint` `x`, `gint` `y`, `gint` `width`, `gint` `height`)`;
``Gdk_Window`&` | `operator``=` | `(`const` `Gdk_Window`&)`;
``void`` | `raise` | `()`;
``void`` | `remove_filter` | `(`GdkFilterFunc` `function`, `gpointer` `data`)`;
``void`` | `reparent` | `(`Gdk_Window`& `new_parent`, `gint` `x`, `gint` `y`)`;
``void`` | `resize` | `(`gint` `width`, `gint` `height`)`;
``void`` | `set_back_pixmap` | `(`Gdk_Pixmap`& `pixmap`, `gint` `parent_relative`)`;
``void`` | `set_background` | `(`const` `Gdk_Color`& `color`)`;
``void`` | `set_colormap` | `(`const` `Gdk_Colormap`& `colormap`)`;
``void`` | `set_cursor` | `(`const` `Gdk_Cursor`& `cursor`)`;
``void`` | `set_decorations` | `(`GdkWMDecoration` `decorations`)`;
``void`` | `set_events` | `(`GdkEventMask` `event_mask`)`;
``void`` | `set_functions` | `(`GdkWMFunction` `functions`)`;
``void`` | `set_geometry_hints` | `(`Gdk_Geometry`& `geometry`, `GdkWindowHints` `flags`)`;
``void`` | `set_group` | `(`Gdk_Window`& `leader`)`;
``void`` | `set_hints` | `(`gint` `x`, `gint` `y`, `gint` `min_width`, `gint` `min_height`, `gint` `max_width`, `gint` `max_height`, `gint` `flags`)`;
``void`` | `set_icon` | `(`Gdk_Window`& `icon_window`, `Gdk_Pixmap`& `pixmap`, `Gdk_Bitmap`& `mask`)`;
``void`` | `set_icon_name` | `(`const` `Gtk::string`& `name`)`;
``void`` | `set_override_redirect` | `(`bool` `override_redirect`)`;
``void`` | `set_role` | `(`const` `Gtk::string`& `role`)`;
``void`` | `set_title` | `(`const` `Gtk::string`& `title`)`;
``void`` | `set_transient_for` | `(`Gdk_Window`& `leader`)`;
``void`` | `set_user_data` | `(`gpointer` `user_data`)`;
``void`` | `show` | `()`;
``void`` | `withdraw` | `()`;
``virtual`` | `~Gdk_Window` | `()`;
### protected function member index:
``void`` | `destroy` | `()`;
``virtual` `void`` | `ref` | `()`;
``virtual` `void`` | `unref` | `()`;

## Description:

This is a handle to a remote window. Please read Handles

## Function Member Descriptions:

Gdk_Window::Gdk_Window - Create an unconnected window handle.

`` `Gdk_Window``()`;
Gdk_Window::Gdk_Window - Wrap an existing GdkWindow.

`` `Gdk_Window``(`GdkWindow`* `win`)`;
Gdk_Window::Gdk_Window - Construct a window handle from an existing one.

`` `Gdk_Window``(`const` `Gdk_Window`& `win`)`;
Gdk_Window::Gdk_Window - Create a window.

`` `Gdk_Window``(`const` `Gdk_Window`& `parent`, `const` `Gdk_WindowAttr`& `attributes`, `gint` `attributes_mask`)`;
Gdk_Window::Gdk_Window - Create a window having the root win. for parent

`` `Gdk_Window``(`const` `Gdk_WindowAttr`& `attributes`, `gint` `attributes_mask`)`;
Gdk_Window::create - Create a new window on server.

``void`` `create``(`const` `Gdk_Window`& `parent`, `const` `Gdk_WindowAttr`& `attributes`, `gint` `attributes_mask`)`;
Gdk_Window::destroy - (internal function) destroy window

``void`` `destroy``()`;
Gdk_Window::get_deskrelative_origin -

``gint`` `get_deskrelative_origin``(`gint`& `x`, `gint`& `y`)`;
Gdk_Window::get_position - deprecated

``void`` `get_position``(`gint`& `x`, `gint`& `y`)`;
Gdk_Window::get_root_origin -

``void`` `get_root_origin``(`gint`& `x`, `gint`& `y`)`;
Gdk_Window::get_size - deprecated

``void`` `get_size``(`gint`& `width`, `gint`& `height`)`;
Gdk_Window::get_type - deprecated

``GdkWindowType`` `get_type``()`;
Gdk_Window::get_user_data - deprecated

``void`` `get_user_data``(`gpointer`* `data`)`;
Gdk_Window::get_visual - deprecated

``Gdk_Visual`` `get_visual``()`;
Gdk_Window::ref - (internal function) increment reference counter

``virtual` `void`` `ref``()`;
Gdk_Window::set_geometry_hints - Set geometry Hints

``void`` `set_geometry_hints``(`Gdk_Geometry`& `geometry`, `GdkWindowHints` `flags`)`;
Gdk_Window::set_role - Set Role

``void`` `set_role``(`const` `Gtk::string`& `role`)`;
Gdk_Window::unref - (internal function) decrement reference counter

``virtual` `void`` `unref``()`;

> Destroys the window if the count reachs zero. (Not like Gdk)

Gdk_Window::~Gdk_Window - Destroy a Window handle.

``virtual`` `~Gdk_Window``()`;