man Gtk2::Gdk::Window () - Gtk2::Gdk::Window

NAME

Gtk2::Gdk::Window

HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::Drawable
       +----Gtk2::Gdk::Window

METHODS

$window->set_accept_focus ($accept_focus)

(window, win_x, win_y) = Gtk2::Gdk::Window->at_pointer

Returns window, a Gtk2::Gdk::Window and win_x and win_y, integers.

$window->set_background ($color)

$window->begin_paint_rect ($rectangle)

$window->begin_paint_region ($region)

$window->set_child_shapes

Returns the list of children (Gtk2::Gdk::Window's) known to gdk.

$window->clear

$window->configure_finished

$window->set_cursor ($cursor)

Gtk2::Gdk::Window->set_debug_updates ($enable)

$window->set_debug_updates ($enable)

$window->set_decorations ($decorations)

$window->deiconify

$window->destroy

$window->enable_synchronized_configure

$window->end_paint

$window->set_events ($event_mask)

$window->focus ($timestamp)

$window->set_focus_on_map ($focus_on_map)

window = Gtk2::Gdk::Window->foreign_new ($anid)

$window->freeze_updates

$window->fullscreen

$window->set_functions ($functions)

$sm_client_id->gdk_set_sm_client_id

$window->set_geometry_hints ($geometry)

The geom_mask argument, describing which fields in the geometry are valid, is optional. If omitted it will be inferred from the geometry itself.

$window->set_group ($leader)

$window->hide

$window->set_icon_list (...)

* ... (list) of GdkPixbuf's

$window->set_icon_name ($name)

$window->iconify

$window->set_keep_above ($setting)

$window->set_keep_below ($setting)

window = Gtk2::Gdk::Window->lookup ($anid)

$window->lower

$window->maximize

$window->merge_child_shapes

$window->set_modal_hint ($modal)

$window->set_override_redirect ($override_redirect)

An alias for get_children Returns window_at_pointer, a Gtk2::Gdk::Window or undef, x and y, integers, and mask, a Gtk2::Gdk::ModifierType.

Gtk2::Gdk::Window->process_all_updates

$window->process_all_updates

$window->process_updates ($update_children)

* ... (list) property value(s)
Depending on the value of format, the property value(s) can be:
  +--------------------+------------------------------------+
  |      format        |                value               |
  +--------------------+------------------------------------+
  | Gtk2::Gdk::CHARS   | a string                           |
  | Gtk2::Gdk::USHORTS | one or more unsigned short numbers |
  | Gtk2::Gdk::ULONGS  | one or more unsigned long numbers  |
  +--------------------+------------------------------------+

$window->property_delete ($property)

See property_change for an explanation of the meaning of format.

$window->raise

$window->register_dnd

$window->set_role ($role)

$window->show

$window->show_unraised

$window->set_skip_pager_hint ($skips_pager)

$window->set_skip_taskbar_hint ($skips_taskbar)

$window->stick

$window->thaw_updates

$window->set_title ($title)

list = Gtk2::Gdk::Window->get_toplevels

Returns a list of top level windows (Gtk2::Gdk::Window's) known to gdk, on the default screen. A toplevel window is a child of the root window.

$window->set_transient_for ($parent)

$window->set_type_hint ($hint)

$window->unfullscreen

$window->unmaximize

$window->unstick

$window->set_urgency_hint ($urgent)

$window->set_user_data ($user_data)

$window->set_user_time ($timestamp)

$window->withdraw

ENUMS AND FLAGS

flags Gtk2::Gdk::EventMask

* 'exposure-mask' / 'GDK_EXPOSURE_MASK'
* 'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'
* 'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'
* 'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'
* 'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'
* 'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'
* 'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'
* 'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'
* 'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'
* 'key-press-mask' / 'GDK_KEY_PRESS_MASK'
* 'key-release-mask' / 'GDK_KEY_RELEASE_MASK'
* 'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'
* 'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'
* 'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'
* 'structure-mask' / 'GDK_STRUCTURE_MASK'
* 'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'
* 'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'
* 'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'
* 'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'
* 'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'
* 'scroll-mask' / 'GDK_SCROLL_MASK'
* 'all-events-mask' / 'GDK_ALL_EVENTS_MASK'

enum Gtk2::Gdk::PropMode

* 'replace' / 'GDK_PROP_MODE_REPLACE'
* 'prepend' / 'GDK_PROP_MODE_PREPEND'
* 'append' / 'GDK_PROP_MODE_APPEND'

flags Gtk2::Gdk::WMDecoration

* 'all' / 'GDK_DECOR_ALL'
* 'border' / 'GDK_DECOR_BORDER'
* 'resizeh' / 'GDK_DECOR_RESIZEH'
* 'title' / 'GDK_DECOR_TITLE'
* 'menu' / 'GDK_DECOR_MENU'
* 'minimize' / 'GDK_DECOR_MINIMIZE'
* 'maximize' / 'GDK_DECOR_MAXIMIZE'

flags Gtk2::Gdk::WMFunction

* 'all' / 'GDK_FUNC_ALL'
* 'resize' / 'GDK_FUNC_RESIZE'
* 'move' / 'GDK_FUNC_MOVE'
* 'minimize' / 'GDK_FUNC_MINIMIZE'
* 'maximize' / 'GDK_FUNC_MAXIMIZE'
* 'close' / 'GDK_FUNC_CLOSE'

enum Gtk2::Gdk::WindowEdge

* 'north-west' / 'GDK_WINDOW_EDGE_NORTH_WEST'
* 'north' / 'GDK_WINDOW_EDGE_NORTH'
* 'north-east' / 'GDK_WINDOW_EDGE_NORTH_EAST'
* 'west' / 'GDK_WINDOW_EDGE_WEST'
* 'east' / 'GDK_WINDOW_EDGE_EAST'
* 'south-west' / 'GDK_WINDOW_EDGE_SOUTH_WEST'
* 'south' / 'GDK_WINDOW_EDGE_SOUTH'
* 'south-east' / 'GDK_WINDOW_EDGE_SOUTH_EAST'

flags Gtk2::Gdk::WindowHints

* 'pos' / 'GDK_HINT_POS'
* 'min-size' / 'GDK_HINT_MIN_SIZE'
* 'max-size' / 'GDK_HINT_MAX_SIZE'
* 'base-size' / 'GDK_HINT_BASE_SIZE'
* 'aspect' / 'GDK_HINT_ASPECT'
* 'resize-inc' / 'GDK_HINT_RESIZE_INC'
* 'win-gravity' / 'GDK_HINT_WIN_GRAVITY'
* 'user-pos' / 'GDK_HINT_USER_POS'
* 'user-size' / 'GDK_HINT_USER_SIZE'

flags Gtk2::Gdk::WindowState

* 'withdrawn' / 'GDK_WINDOW_STATE_WITHDRAWN'
* 'iconified' / 'GDK_WINDOW_STATE_ICONIFIED'
* 'maximized' / 'GDK_WINDOW_STATE_MAXIMIZED'
* 'sticky' / 'GDK_WINDOW_STATE_STICKY'
* 'fullscreen' / 'GDK_WINDOW_STATE_FULLSCREEN'
* 'above' / 'GDK_WINDOW_STATE_ABOVE'
* 'below' / 'GDK_WINDOW_STATE_BELOW'

enum Gtk2::Gdk::WindowType

* 'root' / 'GDK_WINDOW_ROOT'
* 'toplevel' / 'GDK_WINDOW_TOPLEVEL'
* 'child' / 'GDK_WINDOW_CHILD'
* 'dialog' / 'GDK_WINDOW_DIALOG'
* 'temp' / 'GDK_WINDOW_TEMP'
* 'foreign' / 'GDK_WINDOW_FOREIGN'

enum Gtk2::Gdk::WindowTypeHint

* 'normal' / 'GDK_WINDOW_TYPE_HINT_NORMAL'
* 'dialog' / 'GDK_WINDOW_TYPE_HINT_DIALOG'
* 'menu' / 'GDK_WINDOW_TYPE_HINT_MENU'
* 'toolbar' / 'GDK_WINDOW_TYPE_HINT_TOOLBAR'
* 'splashscreen' / 'GDK_WINDOW_TYPE_HINT_SPLASHSCREEN'
* 'utility' / 'GDK_WINDOW_TYPE_HINT_UTILITY'
* 'dock' / 'GDK_WINDOW_TYPE_HINT_DOCK'
* 'desktop' / 'GDK_WINDOW_TYPE_HINT_DESKTOP'

SEE ALSO

Gtk2, Glib::Object, Gtk2::Gdk::Drawable

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.