how does one tell a gtk window to iconify itself?
the closest i could come to figuring it out (in a five minute search of
manpages and gtk api docs) was
1. to get a hold of the xid of the window, the display, and the screen
number and call XIconifyWindow, but i can't figure out where to get hold
of those numbers from gtk and i don't have the Xlib bindings installed...
2. use Gtk::Gdk->event_send_client_message ($event, $xid) to achieve
what XIconifyWindow does, which looks really freakin complicated for
someone who thoroughly enjoys the way both Gtk and perl shield him from
Xlib.
any ideas?
|