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

  
 
  

home | help
XmSlideContext(3X)					      XmSlideContext(3X)

NAME
     XmSlideContext - The SlideContext widget class

SYNOPSIS
     #include <Xm/SlideC.h>

DESCRIPTION
     SlideContext  can	be  used  to  change a widgets geometry over a period of
     time.

     Next paragraph

     Next paragraph

   Classes
     SlideContext inherits behavior and resources from the Object class.

     The class pointer is XmSlideContextWidgetClass.

     The class name is XmSlideContext.

   New Resources
     The following table defines a set of widget resources used by the	program-
     mer  to  specify data.  The programmer can also set the resource values for
     the inherited classes to set attributes for this widget.	To  reference  a
     resource  by  name  or by class in a .Xdefaults file, remove the XmN or XmC
     prefix and use the remaining letters.  To specify one of the defined values
     for a resource in a .Xdefaults file, remove the Xm prefix and use	the  re-
     maining  letters  (in either lowercase or uppercase, but include any under-
     scores between words).  The codes in the  access  column  indicate  if  the
     given  resource  can  be set at creation time (C), set by using XtSetValues
     (S), retrieved by using XtGetValues (G), or is not applicable (N/A).

			   XmSlideContext Resource Set
Name			 Class		      Type	       Default	  Access
---------------------------------------------------------------------------------
XmNslideDestHeight	 XtCSlideDestHeight   Dimension        variable   C
XmNslideDestWidth	 XtCSlideDestWidth    Dimension        variable   C
XmNslideDestX		 XtCSlideDestX	      Position	       variable   C
XmNslideDestY		 XtCSlideDestY	      Position	       variable   C
XmNslideFinishCallback	 XtCCallback	      XtCallbackList   NULL	  C
XmNslideInterval	 XtCSlideInterval     int	       5	  C
XmNslideMotionCallback	 XtCCallback	      XtCallbackList   NULL	  C
XmNslideWidget		 XtCSlideWidget       Widget	       NULL	  C

     XmNslideDestHeight
	    If not specified, the current height of XmNslideWidget is used.

     XmNslideDestWidth
	    If not specified, the current width of XmNslideWidget is used.

     XmNslideDestX
	    If not specified, the current x of XmNslideWidget is used.

     XmNslideDestY
	    If not specified, the current y of XmNslideWidget is used.

     XmNslideFinishCallback
	    Specifies the list of callbacks that is called when the XmNslideWid-
	    get reaches it's destination.

     XmNslideInterval
	    The time between each geometry change. A value of  0  will	set  the
	    destination values on the first iteration.

     XmNslideMotionCallback
	    Specifies the list of callbacks that is called when the widget geom-
	    etry changes.

     XmNslideWidget
	    The widget to alter. This _must_ be specified during creation.

   Inherited Resources
     SlideContext  inherits  behavior  and  resources  from the following super-
     classes.  For a complete description of each resource,  refer  to	the  man
     page for that superclass.

			      Object Resource Set
     Name		  Class 	Type		 Default   Access
     ---------------------------------------------------------------------
     XmNdestroyCallback   XmCCallback	XtCallbackList	 NULL	   C
     XmNscreen		  XmCScreen	Screen *	 dynamic   CG

   Behavior
     XmSlideContext  behavior  is described below: XmSlideContext installs an Xt
     timer that is called every XmNslideInterval milliseconds. At each	call  of
     the  timer  proc  the  XmNslideWidget  geometry  is  adjusted such that the
     X/Y/Width/Height are 10 percent closer to the final values. The XmSlideCon-
     text is automatically destroyed when the XmNslideWidget reaches its  desti-
     nation.  If  the  XmNslideWidget is destroyed before the slide is finished,
     the XmSlideContext is destroyed.

   Virtual Bindings
     The bindings for virtual keys are vendor specific.  For  information  about
     bindings for virtual buttons and keys, see VirtualBindings(3X).

RELATED INFORMATION
     Object(3X),

							      XmSlideContext(3X)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmSlideContext&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help