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_HBOX(3) FreeBSD Library Functions Manual AG_HBOX(3)

AG_HBox
agar horizontal container widget

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

The AG_HBox widget is a variant of AG_Box(3) which packs its children horizontally.

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

AG_HBox *
AG_HBoxNew(AG_Widget *parent, int flags);


void
AG_HBoxSetHomogenous(AG_HBox *box, int homogenous);


void
AG_HBoxSetPadding(AG_HBox *box, int padding);


void
AG_HBoxSetSpacing(AG_Box *hbox, int spacing);

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

AG_HBOX_HFILL
Expand horizontally in parent (equivalent to invoking AG_ExpandHoriz(3)).
AG_HBOX_VFILL
Expand vertically in parent (equivalent to invoking AG_ExpandVert(3)).
AG_HBOX_EXPAND
Shorthand for AG_HBOX_HFILL|AG_HBOX_VFILL.

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

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

The AG_HBox widget does not generate any event.

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

The AG_HBox 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.