next up previous contents
Next: The toplevel widget Up: Hush classes Previous: The kit class

The widget class

The widget class is abstract. All the graphical widgets are derived from this class.

 
   interface widget
   {
     widget(char* p);
     widget(widget* w,char* p);
     widget* pack(char* options="");               // pack to display
     void destroy();             // remove from display
   };



A Eliens
Tue Oct 31 09:27:21 MET 1995