Re: gtk box and flow layout

2007-02-23 Thread daa84
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

Re: gtk box and flow layout

2007-02-22 Thread Paul Pogonyshev
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 > > >

Re: gtk box and flow layout

2007-02-22 Thread daa84
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

Re: gtk box and flow layout

2007-02-19 Thread daa84
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/

Re: gtk box and flow layout

2007-02-18 Thread Paul Pogonyshev
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

Re: gtk box and flow layout

2007-02-18 Thread James Scott Jr
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!

gtk box and flow layout

2007-02-18 Thread daa84
Hello! 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? Thanks. Sorry for my bad english:) -- Andrey Dubravin ___ gtk-app-d