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_Separator
agar 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_SeparatorNew(AG_Widget *parent, enum ag_separator_type type);


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


AG_Separator *
AG_SeparatorNewHoriz(AG_Widget *parent);


AG_Separator *
AG_SeparatorNewVert(AG_Widget *parent);


AG_Separator *
AG_SpacerNewHoriz(AG_Widget *parent);


AG_Separator *
AG_SpacerNewVert(AG_Widget *parent);


void
AG_SeparatorSetPadding(AG_Separator *sep, Uint pixels);

The AG_SeparatorNew() 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_SeparatorNewHoriz(), AG_SeparatorNewVert(), AG_SpacerNewHoriz() and AG_SpacerNewVert() variants do not take a type argument.

It is unnecessary to call AG_ExpandHoriz(3) on horizontal separators or AG_ExpandVert(3) on vertical separators, they are expanded by default.

The AG_SeparatorSetPadding() function sets the padding around the separator line in pixels. The total width of the separation will be pixels*2.

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.
November 17, 2007 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.