#include <Gwidget.h>
Inheritance diagram for Gwidget:

Public Methods | |
| Gwidget () | |
| Gwidget (GtkWidget *w) | |
| virtual | ~Gwidget () | 
| void | SetPosition (int x, int y, int w, int h) | 
| GtkWidget* | GetMainWidget () | 
| void | SetMainWidget (GtkWidget *w) | 
| Gstring | GetName () | 
| virtual void | SetWindowMgr (GwindowMgr *w) | 
| GwindowMgr* | GetWindowMgr () | 
| bool | Insert (Gwidget *w) | 
| void | RegisterEvent (Gevent::EventType event) | 
| void | PostEvent (Gevent::EventType event) | 
| virtual void | OnEvent (GdkEvent *e, void *user_data) | 
| virtual void | OnAction (Gwidget *w, GdkEvent *e) | 
| virtual void | Action () | 
| virtual bool | Init () | 
| virtual void | Show () | 
| bool | IsExpandable () | 
| void | SetExpandable (bool expand) | 
Public Attributes | |
| int | X | 
| int | Y | 
| int | Width | 
| int | Height | 
Protected Methods | |
| virtual void | EvtDestroy () | 
| void | Post (Gwidget *w, GdkEvent *e) | 
Protected Attributes | |
| Gstring* | name | 
| GwindowMgr* | wmgr | 
| GtkWidget* | MainWidget | 
| bool | is_expandable | 
askyesno.cpp, button.cpp, clist.cpp, and entry.cpp.
      
  | 
  
| 
 Construct a widget with the given name.  | 
  
      
  | 
  
| 
 Construct a widget that is the copy of the given widget WARNING: the instance variables of the object are pointers to the copied object. DO NOT DESTROY a copied widget. USE static reference  | 
  
      
  | 
  
| 
 Action Performed when event occur on the widget 
  | 
  
      
  | 
  
| 
 Return the main widget of the Widget as a GTK form  | 
  
      
  | 
  
| 
 Return the name of the widget  | 
  
      
  | 
  
| 
 Return the window manager of the widget 
  | 
  
      
  | 
  
| 
 Init the widget Reimplemented in Gdialog, Gmenu, GmenuItem, GmenuBar, GnoteBook::GnoteBookPage, and Gwindow.  | 
  
      
  | 
  
| 
 Insert a widget in the widget  | 
  
      
  | 
  
| 
 Define if a widget is expandable (can be resized). for examples menubar are not expandable  | 
  
      
  | 
  
| 
 Action performed when a child widget sent an event Reimplemented in Gbutton, Gcontainers, Gdialog, GlistBox, Gmenu, GmenuItem, GmenuBar, GnoteBook::GnoteBookPage, and GnoteBook. 
  | 
  
      
  | 
  
| 
 Action performed when an event occur Reimplemented in Gbutton, GcList, GentryText, GlistBox::GlistItem, GmenuItem, GnoteBook::GnoteBookPage, GnoteBook, and Gwindow.  | 
  
      
  | 
  
| 
 Send an event to the widget  | 
  
      
  | 
  
| 
 Register an event in the widget The widget will answer to the event  | 
  
      
  | 
  
| 
 Set the main widget of the Widget. 
  | 
  
      
  | 
  
| 
 Set the position of the widget in a fixed layer. 
  | 
  
      
  | 
  
| 
 Set the window manager of the widget Reimplemented in Gwindow.  | 
  
      
  | 
  
| 
 Display the widget 
  | 
  
      
  | 
  
| 
 position of the widget.  | 
  
      
  | 
  
| 
 position of the widget.  | 
  
      
  | 
  
| 
 position of the widget.  | 
  
      
  | 
  
| 
 position of the widget.  |