RE:Resizing



Title: RE:Resizing

I am quite new to gtk so this might sound like a sill question but
how do you set a window to be able to resize or not resize.
You create it like below.

GtkWidget *main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_object_set_data(GTK_OBJECT(main_window), "main_window",
                      main_window);

gtk_widget_set_usize(main_window, 550, 0);
gtk_window_set_title(GTK_WINDOW(main_window), _("Main"));

Also what does gtk_window_set_policy() actually do.

Any help would be much appreciated.
Thanks in advance Kevin







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