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

FreeBSD Manual Pages

  
 
  

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

NAME
       XmtLayoutDisableLayout(), XmtLayoutEnableLayout() - temporarily disable
       layout computation for an XmtLayout widget.

SYNOPSIS
       #include	<Xmt/Layout.h>

       void XmtLayoutDisableLayout(Widget w)

       void XmtLayoutEnableLayout(Widget w)

ARGUMENTS
       INPUTS

	    w	   An XmtLayout	widget.

DESCRIPTION
       XmtLayoutDisableLayout()	stops the XmtLayout widget w from  recomputing
       the  arrangement	 of  its children when it normally would. XmtLayoutEn-
       ableLayout() restores normal layout computation for w.

       Use these functions if you are making an	number of changes to the chil-
       dren  of	 w  (managing, unmanaging, repositioning, resizing) that would
       cause w to recompute the	children's arrangement.	By  batching  all  the
       changes	between	 XmtLayoutDisableLayout()  and XmtLayoutEnableLayout()
       significant unnecessary computation can be avoided.

       Calls to	these functions	are counted and	may be nested-layout will  not
       be  re-enabled  until  XmtLayoutEnableLayout()  has been	called as many
       times as	XmtLayoutDisableLayout().

SEE ALSO
       Chapter 19, The Layout Widget: The Details, XmtLayout.

Xmt				  Motif	Tools	     XmtLayoutDisableLayout(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=XmtLayoutDisableLayout&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help