FreeBSD Manual Pages
XmtRegisterLayoutParser(3) Library Functions Manual XmtRegisterLayoutParser(3) NAME XmtRegisterLayoutParser(), XmtRegisterLayoutCreateMethod() - register the parser for the XmtLayout widget layout grammar and allow typed widget cre- ation 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 sophisticated layout grammar specified in a resource file. Because the parser for this layout grammar is relatively large, it must be explicitly registered, like a resource converter, before it can be used. XmtRegisterLayoutParser() registers a parser for the XmtLayout widget lay- out 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 re- source, 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 creation fa- cilities so that you can specify widgets to be automatically created di- rectly in the layout string. Both XmtInitialize() and XmtRegisterAll() call both of these registration 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://man.freebsd.org/cgi/man.cgi?query=XmtRegisterLayoutParser&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
