GdkWindow

GdkWindow

Underlying window class for every GtkWidget.

Object Hierarchy

Direct subclasses

None.

Description

A GdkWindow represents the underlying window class of any GtkWidget, resp. the onscreen display areas in the target window system which the widget covers.

It can be accessed using the window property of the GtkWidget class.

Methods

raise()
  Raises the window to the top of the z-order.
lower()
  Lowers the window to the bottom of the Z-order.
get_pointer()
  Returns an array of information about the mouse pointer.
set_cursor()
  Sets the mouse cursor used in that window.
new_gc()
 
property_get()
 
property_change()
 
property_delete()
 
set_icon()
  Sets the window icon.

Properties

width:
  The width of the window in pixels.
height:
  The height of the window in pixels.
x:
  The x coordinate of the window position relative to the parent.
y:
  The y coordinate of the window position relative to the parent.
colormap:
 
pointer:
  Array with the current mouse cursor position.
pointer_state:
  The current status of the mouse buttons.
parent:
  Returns the parent GdkWindow.
toplevel:
  Returns the GdkWindow of the toplevel GtkWindow.
children:
  Array of all direct children.
type:
  Returns the type of the widget.
depth:
  Returns the color depth in bits per pixel.
xid:
  Returns the XWindow window id, but not on Windows.

void
© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.