1XmSlideContext(3X)                                          XmSlideContext(3X)
2
3
4

NAME

6       XmSlideContext - The SlideContext widget class
7

SYNOPSIS

9       #include <Xm/SlideC.h>
10

DESCRIPTION

12       SlideContext  can be used to change a widgets geometry over a period of
13       time.
14
15       Next paragraph
16
17       Next paragraph
18
19   Classes
20       SlideContext inherits behavior and resources from the Object class.
21
22       The class pointer is XmSlideContextWidgetClass.
23
24       The class name is XmSlideContext.
25
26   New Resources
27       The following table defines a set of widget resources used by the  pro‐
28       grammer to specify data.  The programmer can also set the resource val‐
29       ues for the inherited classes to set attributes for  this  widget.   To
30       reference  a  resource by name or by class in a .Xdefaults file, remove
31       the XmN or XmC prefix and use the remaining letters.  To specify one of
32       the  defined  values for a resource in a .Xdefaults file, remove the Xm
33       prefix and use the remaining letters (in either lowercase or uppercase,
34       but  include  any  underscores between words).  The codes in the access
35       column indicate if the given resource can be set at creation time  (C),
36       set by using XtSetValues (S), retrieved by using XtGetValues (G), or is
37       not applicable (N/A).
38
39                           XmSlideContext Resource Set

Name Class Type Default Access

41─────────────────────────────────────────────────────────────────────────────────
42XmNslideDestHeight       XtCSlideDestHeight   Dimension        variable   C
43XmNslideDestWidth        XtCSlideDestWidth    Dimension        variable   C
44XmNslideDestX            XtCSlideDestX        Position         variable   C
45XmNslideDestY            XtCSlideDestY        Position         variable   C
46XmNslideFinishCallback   XtCCallback          XtCallbackList   NULL       C
47XmNslideInterval         XtCSlideInterval     int              5          C
48XmNslideMotionCallback   XtCCallback          XtCallbackList   NULL       C
49XmNslideWidget           XtCSlideWidget       Widget           NULL       C
50
51
52
53       XmNslideDestHeight
54              If not specified, the current height of XmNslideWidget is used.
55
56
57       XmNslideDestWidth
58              If not specified, the current width of XmNslideWidget is used.
59
60
61       XmNslideDestX
62              If not specified, the current x of XmNslideWidget is used.
63
64
65       XmNslideDestY
66              If not specified, the current y of XmNslideWidget is used.
67
68
69       XmNslideFinishCallback
70              Specifies  the  list  of  callbacks  that  is  called  when  the
71              XmNslideWidget reaches it's destination.
72
73
74       XmNslideInterval
75              The time between each geometry change. A value of 0 will set the
76              destination values on the first iteration.
77
78
79       XmNslideMotionCallback
80              Specifies the list of callbacks that is called when  the  widget
81              geometry changes.
82
83
84       XmNslideWidget
85              The widget to alter. This _must_ be specified during creation.
86
87
88   Inherited Resources
89       SlideContext  inherits behavior and resources from the following super‐
90       classes.  For a complete description of each resource, refer to the man
91       page for that superclass.
92
93                              Object Resource Set
94     Name                 Class         Type             Default   Access
95     ─────────────────────────────────────────────────────────────────────
96     XmNdestroyCallback   XmCCallback   XtCallbackList   NULL      C
97     XmNscreen            XmCScreen     Screen *         dynamic   CG
98
99
100   Behavior
101       XmSlideContext  behavior is described below: XmSlideContext installs an
102       Xt timer that is called every  XmNslideInterval  miliseconds.  At  each
103       call  of  the  timer  proc the XmNslideWidget geometry is adjusted such
104       that the X/Y/Width/Height are 10 percent closer to  the  final  values.
105       The  XmSlideContext  is automatically destroyed when the XmNslideWidget
106       reaches its destination. If the XmNslideWidget is destroyed before  the
107       slide is finished, the XmSlideContext is destroyed.
108
109
110   Virtual Bindings
111       The  bindings  for  virtual  keys are vendor specific.  For information
112       about bindings for virtual buttons and keys, see VirtualBindings(3X).
113
115       Object(3X),
116
117
118
119                                                            XmSlideContext(3X)
Impressum