Hello!

Paul Pogonyshev wrote:
> In case you want row-breaking functionality of FlowLayout (e.g. when third
> widget is placed below the first two since there is not enough width), you
> likely need a custom container, as standard ones don't support this.
> Otherwise you probably just want GtkHBox/GtkVBox.
> 
> Paul
> 

I start to write my widget with FlowLayout functionality (with 
row-breaking). And find next problem:

gtk_widget_size_request function obtains the preferred size of a widget
gtk_widget_size_allocate assign a size and position to child widgets

When I fill GtkRequisition structure I send my preferred size of a 
widget (width and height). But in size_allocate function I get new width 
that smaller then first width value. Than it is need to increase size.
How can I do it? Initiate call size_request function another one time or 
change GtkAllocation values.

This is only my thoughts, I don't test this in code for now.

Thanks!


Sorry for my bad English.
-- 
Andrey Dubravin
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to