NAME

Gtk2::Ex::GdkBits - miscellaneous Gdk helpers

SYNOPSIS

use Gtk2::Ex::GdkBits;

FUNCTIONS

($x,$y) = Gtk2::Ex::GdkBits::window_get_root_position ($window)

Return two values $x,$y which are the top left corner of $window in root window coordinates.

This is the same as $window->get_origin, but it's implemented with $window->get_position calls and thus uses the most recently recorded window positions rather than making an X server round-trip.

SEE ALSO

Gtk2::Ex::WidgetBits, Gtk2::Gdk

HOME PAGE

http://www.geocities.com/user42_kevin/gtk2-ex-widgetbits/index.html

LICENSE

Copyright 2008, 2009 Kevin Ryde

Gtk2-Ex-WidgetBits is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Gtk2-Ex-WidgetBits is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Gtk2-Ex-WidgetBits. If not, see http://www.gnu.org/licenses/.