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

FreeBSD Manual Pages

  
 
  

home | help
XmtRegisterLayoutParser(3) Library Functions Manual XmtRegisterLayoutParser(3)

NAME
       XmtRegisterLayoutParser(),  XmtRegisterLayoutCreateMethod()  - register
       the parser for the XmtLayout widget layout grammar and allow typed wid-
       get creation by the parser.

SYNOPSIS
       #include	<Xmt/Layout.h>

       void XmtRegisterLayoutParser(void)

       void XmtRegisterLayoutCreateMethod(void)

ARGUMENTS
       None.

DESCRIPTION
       The  XmtLayout  widget is a fairly large	widget that can	layout widgets
       as specified through constraint resources or as specified by a  sophis-
       ticated layout grammar specified	in a resource file. Because the	parser
       for this	layout grammar is relatively large, it must be explicitly reg-
       istered,	like a resource	converter, before it can be used.

       XmtRegisterLayoutParser()  registers  a parser for the XmtLayout	widget
       layout grammar. If you do not call this function, you will not be  able
       to  set	the  XmtNlayout	 resource  of your XmtLayout widgets, but your
       application will	have to	link with less code. If	you  will  never  need
       the XmtNlayout resource,	then you shouldn't call	this function.

       XmtRegisterLayoutCreateMethod()	is a similar function. If you call it,
       the Xmt layout parser will be linked with the Xmt automatic widget cre-
       ation  facilities  so  that you can specify widgets to be automatically
       created directly	in the layout string.

       Both XmtInitialize() and	XmtRegisterAll() call both of these  registra-
       tion functions.

SEE ALSO
       Chapter 19, The Layout Widget: The Details, XmtLayout, XmtInitialize(),
       XmtRegisterAll().

Xmt				  Motif	Tools	    XmtRegisterLayoutParser(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

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

home | help