GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AG_VBOX(3) FreeBSD Library Functions Manual AG_VBOX(3)

AG_VBox
agar vertical container widget

#include <agar/core.h>
#include <agar/gui.h>

The AG_VBox widget is a variant of AG_Box(3) which packs its children vertically.

AG_Object(3) -> AG_Widget(3) -> AG_Box(3) -> AG_VBox.

AG_VBox *
AG_VBoxNew(AG_Widget *parent, Uint flags);


void
AG_VBoxSetHomogenous(AG_VBox *box, int homogenous);


void
AG_VBoxSetPadding(AG_VBox *box, int padding);


void
AG_VBoxSetSpacing(AG_Box *vbox, int spacing);

The AG_VBoxNew() function allocates, initializes, and attaches a new AG_VBox widget. Acceptable flags include:

AG_VBOX_HFILL
Expand horizontally in parent (equivalent to invoking AG_ExpandHoriz(3)).
AG_VBOX_VFILL
Expand vertically in parent (equivalent to invoking AG_ExpandVert(3)).
AG_VBOX_EXPAND
Shorthand for AG_VBOX_HFILL|AG_VBOX_VFILL.

The AG_VBoxSetHomogenous() function defines whether avialable space is divided evenly between attached widgets.

The AG_VBoxSetPadding() function sets the padding around the group of child widgets to padding pixels. AG_VBoxSetSpacing() sets the spacing between individual child widgets to spacing pixels.

The AG_VBox widget does not generate any event.

AG_Box(3), AG_HBox(3), AG_Intro(3), AG_Widget(3), AG_Window(3)

The AG_VBox widget first appeared in Agar 1.0.
June 10, 2003 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.