geometry specification in Apps.




I am adding geometry specification support to GGV and I found that 



gtk_widget_set_uposition (GTK_WIDGET (retval->main_window), xpos, ypos);


does not take into account the size of the window if the parameters
are negative. For instance, try 

gnome-terminal --geometry 40x30-0+0

You will see that instead of locating the window in the upper right
corner, you will see it (or not :) out of the screen.

Now try:

xterm -geometry 40x30-0+0

You will see there is a difference in behaviour.

If this a bug in gnome-terminal  or in gtk? 




--
Daniel M. German                  "The growth of the Net
                                   is not a fluke or a fad,
                                   but the consequence of unleashing
   The Economist ->                the power of individual creativity."
http://csgwww.uwaterloo.ca/~dmg/home.html
dmg@csg.uwaterloo.ca

 



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