|
NAMEAG_MPane —
agar multiple paned view widget
SYNOPSIS#include <agar/core.h> #include <agar/gui.h> DESCRIPTIONTheAG_MPane widget divides space into a set of
AG_Box(3)
partitions much like the
AG_Pane(3)
widget, except that up to 4 partitions are allowed. It is possible to switch
during different partition layouts at runtime, making
AG_MPane useful for 3D modeling applications.
INHERITANCE HIERARCHYAG_Object(3) -> AG_Widget(3) ->AG_MPane .
INITIALIZATIONAG_MPane *AG_MPaneNew (AG_Widget
*parent, enum
ag_mpane_layout layout,
Uint flags);
The enum ag_mpane_layout { AG_MPANE1, /* Single view */ AG_MPANE2V, /* Dual views (left/right) */ AG_MPANE2H, /* Dual views (top/bottom) */ AG_MPANE2L1R, /* Two views left, one view right */ AG_MPANE1L2R, /* One view left, two views right */ AG_MPANE2T1B, /* Two views top, one view bottom */ AG_MPANE1T2B, /* One view top, two views bottom */ AG_MPANE3L1R, /* Three views left, one view right */ AG_MPANE1L3R, /* One view left, three views right */ AG_MPANE3T1B, /* Three views top, one view bottom */ AG_MPANE1T3B, /* One view top, three views bottom */ AG_MPANE4 /* Four views */ }; Acceptable flags include:
The EVENTSTheAG_MPane widget does not generate any event.
STRUCTURE DATAFor the AG_MPane object:
SEE ALSOAG_Box(3), AG_Intro(3), AG_Pane(3), AG_Widget(3), AG_Window(3)HISTORYTheAG_MPane widget first appeared in Agar 1.0.
BUGSUnlike with AG_Pane(3), it is impossible to reuse existing containers.
Visit the GSP FreeBSD Man Page Interface. |