Re: Maximize project



On Thu, 2002-07-11 at 20:36, Alain VALLETON wrote:
> 
>   /* Maximum size for the window (that of the screen) */
>   gtk_widget_set_usize (main_window, gdk_screen_width(), 
> gdk_screen_height());
> 
>   /* Not resizable! */
>   gtk_window_set_policy (GTK_WINDOW (main_window), FALSE, FALSE, FALSE);

I think it is not a very good idea.
gtk_window_maximize(main_window); should be better.
I'd uninstall an application that opens using entire desktop and doesn't
let to reduce its window's size after first run.

-- 
struct Sig {
  string name("     J a r e k   D u k a t     ");
  string mail(" madmaxer (at) poczta (dot) fm ");
};


----------------------------------------------------------------------
Codziennie wiadomosci wprost do Twojej komorki! Zaopatrz sie w nie...
...zanim wyjedziesz na wakacje...  >>> http://link.interia.pl/f1620 





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