Paul Pogonyshev wrote:
> daa84 wrote:
>> daa84 ?:
>> > 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 positi
daa84 wrote:
> daa84 ?:
> > 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
> >
>
daa84 ?:
> 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
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/
daa84 wrote:
> Can I create flow layout box in gtk like java FlowLayout Layout Manager?
> Or it is need to create derivative class (from GtkTable for example) and
> release it behaviour itself?
In case you want row-breaking functionality of FlowLayout (e.g. when third
widget is placed below the f
daa84,
You may want to explore using the GtkLayout container. From what I know
of the Java FlowLayout, both GtkTable and GtkLayout are close
approximations of the FlowLayout.
http://developer.gnome.org/doc/API/2.0/gtk/GtkLayout.html
On Sun, 2007-02-18 at 11:14 +0300, daa84 wrote:
> Hello!