Re: window and children resizable



Hello,,


Shi Nan wrote:

try gtk_window_set_policy(GTK_WINDOW(window),
             FALSE,TRUE,TRUE);

maybe helpful

Thanks for the tip. I havent tryed this suggestion yet, anyway since this function is deprecated, I would like to use the proper way of doing it, but I do not
see a way of achieving the same effect with gtk_set_resizable.

Luca


----- Original Message ----- From: "Luca Cappa" <luca cappa i-medlab com>
To: <gtk-app-devel-list gnome org>
Sent: Thursday, July 07, 2005 10:06 PM
Subject: window and children resizable


Hello all,

I found that if a create a window and I put inside this window a widget, the window could not resize itself to a size smaller than the one requested by its child. How to overcome this problem?

I would like to have a window with all widgets that changes the size accordingly to the main container window's size. Is this easy to do? I do not see any way of doing it with set_size_request,
nor by using requisition/allocation event handling.

TIA

Luca
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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