Hello,
I have 2 widgets packed in a GtkPaned :
===========================
|
| |
|
| |
|
| |
|
| |
|
| |
| child 1 | child 2 |
|
| |
|
| |
|
| |
|
| |
|
| |
===========================
When one of the childs resize itself ( ex : a GtkLabel whose displayed
text lengthen ), the gutter position change.
How to avoid that properly ? Because the only solution I have found is
to intercept the "size_request" signal of the child and set the
requisition->width to a constant !!! Its tricky ! like this :
void my_handler(
GtkWidget *widget,
GtkRequisition *requisition,
gpointer data)
{
requisition->width = 400; // could be anyelse constant number
requisition->height = -1;
}
Thanks
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list