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_SEPARATOR(3) FreeBSD Library Functions Manual AG_SEPARATOR(3)

AG_Separatoragar cosmetic separator widget

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

The AG_Separator widget draws a horizontal or vertical line or spacer.

AG_Object(3) -> AG_Widget(3) -> AG_Separator.

AG_Separator *
(AG_Widget *parent, enum ag_separator_type type);


AG_Separator *
(AG_Widget *parent, enum ag_separator_type type);


AG_Separator *
(AG_Widget *parent);


AG_Separator *
(AG_Widget *parent);


AG_Separator *
(AG_Widget *parent);


AG_Separator *
(AG_Widget *parent);


void
(AG_Separator *sep, Uint pixels);

The () function creates a new separator that displays a visible line. AG_SpacerNew() creates a new separator that does not draw a visible line. type is one of:

enum ag_separator_type {
	AG_SEPARATOR_HORIZ,
	AG_SEPARATOR_VERT
};

The (), AG_SeparatorNewVert(), AG_SpacerNewHoriz() and AG_SpacerNewVert() variants do not take a type argument.

By default, AG_Separator expands to fit available space in parent container. () requests a minimum length in pixels.

The AG_Separator widget does not generate any event.

AG_Intro(3), AG_Widget(3), AG_Window(3)

The AG_Separator widget first appeared in Agar 1.0. In Agar 1.6.0, AG_SeparatorSetLength() was added and AG_SeparatorSetPadding() was deprecated by the generic "padding" style attribute.

December 21, 2022 Agar 1.7

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.