On Sun, 2005-11-06 at 12:53 +0300, Alexey Rusakov wrote:
> 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.

Its also not portable.  Also, I've tried using it (_NET_WM_STRUT...) by
doing:
w = gtk.window()
w.show_all()
w.window.property_change(...)

but it didn't seem to affect anything.

Nathaniel

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to