Re: some easy questions:



second, what different follow two statements?
gtk_widget_set_usize(GTK_WIDGET(window), 200, 200);
gtk_window_set_default_size(GTK_WINDOW(window), 200, 200);

The first says that the minimum size of your window is 200x200,
the second says that your window will be created with 200x200

For example, you may wish to create your windows with 250x250,
allow the user to increase the size as much as required
but decrease only untill reaching 200x200:

gtk_window_set_default_size(GTK_WINDOW(window), 250, 250);
gtk_widget_set_usize(GTK_WIDGET(window), 200, 200);

Carlos




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