]>
git.saurik.com Git - wxWidgets.git/blob - src/motif/mdi/lib/XsComponent.h
2 Copyright (C) 1996 Scott W. Sadler
10 03-Mar-96 1.0; Scott W. Sadler (ssadler@cisco.com)
19 #include <X11/Intrinsic.h>
29 virtual ~XsComponent ( );
31 // Component manipulation
33 virtual void show ( ); // Show the component
34 virtual void hide ( ); // Hide the component
38 const char *name ( ) const;
42 Widget
base ( ) const;
43 virtual operator Widget ( ) const;
47 Boolean
operator == (const XsComponent
&);
51 virtual const char *className ( ) const;
55 // Protected constructor
57 XsComponent (const char *name
);
59 // Component life-cycle
61 virtual void _componentDestroyed ( );
62 void _installDestroyHandler ( );
63 void _removeDestroyHandler ( );
67 void _setResources (Widget w
, const String
*);
68 void _getResources (const XtResourceList
, int);
72 char *_name
; // Component name
73 Widget _base
; // Base widget
79 static void _componentDestroyedCallback (Widget
, XtPointer
, XtPointer
);
82 // Inline member functions
84 inline Widget
XsComponent::base ( ) const
89 inline const char* XsComponent::name ( ) const