Re: gtk_window_set_resizable



On Thu, 2004-03-18 at 04:29, ext Maximo Pech wrote:
When i compile and run this program the window isn't displayed, if i
change FALSE to TRUE in the gtk_window_set_resizable function this
works properly. what's wrong?

  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
  gtk_widget_show(window);
  gtk_window_set_resizable(GTK_WINDOW(window), FALSE);

To my knowledge when you make a window unresizable, it's resized to its
optimum size.  Since there's no content in the window the optimum size
is about 0x0 and hardly visible.  Try adding a label or something
visible in the window first.


-- 
Tommi Komulainen <tommi komulainen nokia com>



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