Re: [gtk-list] howto make a window non-resizable?



>How do you make a window non-resizable?


    This one is in ths new FAQ at http://www.gtk.org/faq/. (5.18)
    You should try

        gtk_window_set_policy(GTK_WINDOW(window),
                                                    FALSE, /* allow shrink
*/
                                                    FALSE, /* allow grow */
                                                    bvalue /* whatever BOOL
value you want for the auto shrink param */
        );

    Yours,
>
>--
>Patrick Lambert
>E-mail: drow@post.com  FAX: 514-221-2288
>


pixel@epita.fr




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