new_ml_flow_layout, ml_flow_layout_push_back, ml_flow_layout_pop_back, ml_flow_layout_push_front, ml_flow_layout_pop_front, ml_flow_layout_get, ml_flow_layout_insert, ml_flow_layout_replace, ml_flow_layout_erase, ml_flow_layout_clear, ml_flow_layout_size, ml_flow_layout_pack - monolith flow_layout widget |
#include <ml_flow_layout.h> ml_flow_layout new_ml_flow_layout (pool pool); void ml_flow_layout_push_back (ml_flow_layout, ml_widget); ml_widget ml_flow_layout_pop_back (ml_flow_layout); void ml_flow_layout_push_front (ml_flow_layout, ml_widget); ml_widget ml_flow_layout_pop_front (ml_flow_layout); ml_widget ml_flow_layout_get (ml_flow_layout, int i); void ml_flow_layout_insert (ml_flow_layout, int i, ml_widget); void ml_flow_layout_replace (ml_flow_layout, int i, ml_widget); void ml_flow_layout_erase (ml_flow_layout, int i); void ml_flow_layout_clear (ml_flow_layout); int ml_flow_layout_size (ml_flow_layout); void ml_flow_layout_pack (ml_flow_layout, ml_widget); |
A flow layout widget is the simplest type of layout widget. It contains an ordered list of widgets, and it simply arranges them one after another (in other words with no "layout" at all). |
new_ml_flow_layout creates a new flow layout widget. |
Underlying the flow layout widget is a simple c2lib vector, and the other access functions use the same notation as the equivalent c2lib vector_* functions. Go to the SEE ALSO section below to see how to manipulate widgets within a flow layout. |
ml_flow_layout_pack is equivalent to ml_flow_layout_push_back: it appends the widget to the end of the current vector of widgets. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
monolith-1.0.0 |
vector_push_back(3), vector_pop_back(3), vector_push_front(3), vector_pop_front(3), vector_get(3), vector_insert(3), vector_replace(3), vector_erase(3), vector_clear(3), vector_size(3). |