• allegro5.a5_display
  • allegro5.a5_file
  • allegro5.a5_font
  • allegro5.a5_image
  • allegro5.a5_joystick
  • allegro5.a5_main
  • allegro5.a5_misc
  • allegro5.a5_opengl
  • allegro5.a5_shader
  • allegro5.a5_sound
  • allegro5.a5_thread
  • allegro5.a5_triangles
  • animation
  • array
  • atlas
  • buffer
  • color
  • common
  • csg.csg_aabb
  • csg.csg
  • csg.csg_octree
  • csg.csg_shapes
  • csg.csg_test
  • data
  • display
  • exception
  • file
  • font
  • glsl
  • grid
  • hash
  • image
  • image_op
  • index
  • ini
  • isometric
  • joystick
  • keyboard
  • land
  • layer
  • list
  • log
  • main
  • map
  • mem
  • mouse
  • net
  • noise
  • openglutil
  • perlin
  • pixelmask
  • plasma
  • pool
  • protobuf
  • queue
  • random
  • runner
  • shader
  • sound
  • sprite
  • thread
  • tilegrid
  • triangles
  • util2d
  • util3d
  • util
  • view
  • voronoi
  • widget.base
  • widget.board
  • widget.book
  • widget.box
  • widget.button
  • widget.checkbox
  • widget.container
  • widget.edit
  • widget.gul
  • widget.hbox
  • widget.layout
  • widget
  • widget.menu
  • widget.mover
  • widget.panel
  • widget.scrollbar
  • widget.scrolling
  • widget.sizer
  • widget.slider
  • widget.spin
  • widget.text
  • widget.theme
  • widget.vbox
  • widget.widget_list
  • yaml.external
  • yaml.internal
  • yaml
  • yaml.xml

land.widget.vbox

LandWidgetVBox

A VBox is a container where all children are layed out in rows.

land_widget_vbox_disable_updates

Parameters: LandWidget * base

Call this before adding many items to the vbox, then call land_widget_vbox_update when done. This can speed things up, since there is no need to calculate intermediate layouts for each single added item.

land_widget_vbox_do_update

Parameters: LandWidget * base

Update the vbox, after updates have previously been disabled with land_widget_vbox_disable_updates.

land_widget_vbox_update

Parameters: LandWidget * base

This is called when a child is done adding itself. It’s the earliest time we can calculate the layout.

FIXME: the layout also is calculated in the add method, but that's wrong

land_widget_vbox_add

Parameters: LandWidget * base, LandWidget * add

Add a widget to the vbox. It will be put to the end, going left to right in columns and top to bottom in rows.

land_widget_vbox_remove

Parameters: LandWidget * base, LandWidget * rem

Remove a widget from the vbox.

land_widget_vbox_set_columns

Parameters: LandWidget * base, int n

Specify the number of columns for the vbox. By default, it is 1.

land_widget_vbox_initialize

Parameters: LandWidget * base, LandWidget * parent, int x, int y, int w, int h

Initialize the given vbox widget.

land_widget_vbox_new

Parameters: LandWidget * parent, int x, int y, int w, int h

Returns: LandWidget*

Create a new vbox widget.

land_widget_vbox_interface_initialize

no parameters


Generated: Thu 27 Feb 2020 10:49:37 PM EST