Re: Screen Edges



Nathaniel McCallum wrote:

I'm trying to figure out how to make a GtkWindow behave like a panel
(ie. gnome-panel).  I've looked at the gnome-panel code, but I have no
idea even where to begin.  I already have the window being non-decorated
and the same width of the screen.  However, how do I make it "reserve"
the edge of the screen for itself only? ie. So if you maximize another
window, it doesn't go underneath the panel window.  I hope I'm being
clear.
The "low-level" way is to use _NET_WM_STRUT/_NET_WM_STRUT_PARTIAL keywords (see freedesktop's EWMH specification, http://freedesktop.org/wiki/Standards_2fwm_2dspec). I don't know whether Gtk/GNOME has its own interface for this.

--
 Alexey "Ktirf" Rusakov



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]