]>
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 (sws@iti-oh.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
36 // Added JACS 19/10/98
37 inline Widget
GetBase() const { return _base
; }
41 const char *name ( ) const;
45 Widget
base ( ) const;
46 virtual operator Widget ( ) const;
50 Boolean
operator == (const XsComponent
&);
54 virtual const char *className ( ) const;
58 // Protected constructor
60 XsComponent (const char *name
);
62 // Component life-cycle
64 virtual void _componentDestroyed ( );
65 void _installDestroyHandler ( );
66 void _removeDestroyHandler ( );
70 void _setResources (Widget w
, const String
*);
71 void _getResources (const XtResourceList
, int);
75 char *_name
; // Component name
76 Widget _base
; // Base widget
82 static void _componentDestroyedCallback (Widget
, XtPointer
, XtPointer
);
85 // Inline member functions
87 inline Widget
XsComponent::base ( ) const
92 inline const char* XsComponent::name ( ) const