Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AG_SEPARATOR(3)	       FreeBSD Library Functions Manual	       AG_SEPARATOR(3)

NAME
     AG_Separator -- agar cosmetic separator widget

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

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

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

INITIALIZATION
     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 separa-
     tor line in pixels.  The total width of the separation will be pixels*2.

EVENTS
     The AG_Separator widget does not generate any event.

SEE ALSO
     AG_Intro(3), AG_Widget(3),	AG_Window(3)

HISTORY
     The AG_Separator widget first appeared in Agar 1.0.

FreeBSD	13.0		       November	17, 2007		  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | INHERITANCE HIERARCHY | INITIALIZATION | EVENTS | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=AG_Separator&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help