1
<html><head><TITLE>MWidget</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class MWidget : public <!2><A HREF="Component.html#DOC.52.1">Component</A> </H2><BLOCKQUOTE>
4
base class for wrapping all Motif widgets.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=215>
9
<param name=classes value="CComponent,MComponent.html,CMWidget,MMWidget.html,CMenu,MMenu.html,CMainWindow,MMainWindow.html,CDrawingArea,MDrawingArea.html,CDialog,MDialog.html,CApplication,MApplication.html">
10
<param name=before value="M,M,M|_,MR_,MR_,MR_,Mr_">
11
<param name=after value="Md_,M,M,M,M,M,M">
12
<param name=indent value="0,1,1,1,1,1,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.237.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>MWidget</B> (const char *<!2><A HREF="Component.html#DOC.52.13">name</A>)<br>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~MWidget</B> ()<br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.3"> <IMG BORDER=0 SRC=icon1.gif></A> virtual void </TD><TD><B>Manage</B> ()<br>
25
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.4"> <IMG BORDER=0 SRC=icon1.gif></A> virtual const char* </TD><TD><B>GetClassName</B> ()<br>
27
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.5"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsRealized</B> ()<br>
28
<I> Is the widget realized ?</I>
29
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetColormap</B> (Colormap cmap)<br>
30
<I> Set the colormap of the window to cmap.</I>
31
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetDestroyCallback</B> (XtCallbackProc fun, XtPointer clientData)<br>
32
<I> Add a widget destroyed callback.</I>
33
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>AddLiteClue</B> (Widget w, const char *text)<br>
35
</TD></TR></TABLE><TABLE>
36
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.237.9"> <IMG BORDER=0 SRC=icon1.gif></A> Widget </TD><TD><B>GetLiteClue</B> ()<br>
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CreateLiteClue</B> ()<br>
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.237.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>InstallDestroyHandler</B> ()<br>
41
<I> Easy hook for derived classes</I>
42
</TD></TR></TABLE></DL>
43
<hr><H3>Inherited from <A HREF="Component.html">Component:</A></h3>
47
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> bool <B>IsManaged</B>()
48
<DT><IMG SRC=icon2.gif> virtual void <B>Unmanage</B>()
49
<DT><IMG SRC=icon2.gif> Widget <B>GetWidget</B>()
50
<DT><IMG SRC=icon2.gif> Display* <B>GetDisplay</B>()
51
<DT><IMG SRC=icon2.gif> Window <B>GetWindow</B>()
53
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> void <B>SetWidget</B>(Widget w)
54
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetName</B>() const
55
<DT><IMG SRC=icon2.gif> void <B>SetName</B>(const <!1><A HREF="string.html">string</A> *s)
56
<DT><IMG SRC=icon2.gif> void <B>SetName</B>(const char *s)
60
<h2> Documentation </h2>
62
base class for wrapping all Motif widgets.
69
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> MWidget(const char *<!2><A HREF="Component.html#DOC.52.13">name</A>)</B></TT>
74
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~MWidget()</B></TT>
78
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual void Manage()</B></TT>
80
<A NAME="GetClassName">
82
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual const char* GetClassName()</B></TT>
86
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsRealized()</B></TT>
87
<DD> Is the widget realized ?
89
<A NAME="SetColormap">
91
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetColormap(Colormap cmap)</B></TT>
92
<DD> Set the colormap of the window to cmap.
94
<A NAME="SetDestroyCallback">
96
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetDestroyCallback(XtCallbackProc fun, XtPointer clientData)</B></TT>
97
<DD> Add a widget destroyed callback.
99
<A NAME="AddLiteClue">
100
<A NAME ="DOC.237.8">
101
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void AddLiteClue(Widget w, const char *text)</B></TT>
103
<A NAME="GetLiteClue">
104
<A NAME ="DOC.237.9">
105
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> Widget GetLiteClue()</B></TT>
107
<A NAME="CreateLiteClue">
108
<A NAME ="DOC.237.10">
109
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void CreateLiteClue()</B></TT>
111
<A NAME="InstallDestroyHandler">
112
<A NAME ="DOC.237.11">
113
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void InstallDestroyHandler()</B></TT>
114
<DD> Easy hook for derived classes
117
<DL><DT><B>Direct child classes:
118
</B><DD><A HREF="Menu.html"> Menu </A><br>
119
<A HREF="MainWindow.html"> MainWindow </A><br>
120
<A HREF="DrawingArea.html"> DrawingArea </A><br>
121
<A HREF="Dialog.html"> Dialog </A><br>
122
<A HREF="Application.html"> Application </A><br>
124
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
125
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
126
<P Align=Center><I>this page has been generated automatically by doc++</I>
127
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>