Re: Repost: Resizing and Moving a GtkWindow doesn't work



2007/3/27, Gaurav Jain <gaurav anywhere gmail com>:

In my application I need to resize and move a GtkWindow to a new
location, and I'm using the gtk_window_resize() and gtk_window_move()
APIs for the purpose.  However, these APIs do not work sometimes.

I guess it's a Window Manager problem that doesn't honor the move, it
doesn't work on metacity and openbox (at least on my gentoo box) but
it does work on fluxbox and xfce4.

[snip]
Another interesting thing that I found is an undocumented GTK API :
gtk_decorated_window_move_resize_window() which is giving correct
results for all cases.  However, I cannot (and do not want to) use an
undocumented API.

As far as I can see they are public API, used internally into
gtkwindow.c and they also appear in the docs, (they just miss proper
descriptions) so I would say that they can be used into your code.

What WM are you using by the way?

cheers
--
Gian Mario Tagliaretti



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