Abstract base class for an object which wraps, owns or produces a GtkWidget. More...
#include <Widget.h>
Public Member Functions | |
GtkWidget * | getWidget () const |
Return the GtkWidget for packing into the parent window. | |
Protected Member Functions | |
virtual GtkWidget * | _getWidget () const =0 |
Construct and/or return the GtkWidget. |
Abstract base class for an object which wraps, owns or produces a GtkWidget.
Definition at line 12 of file Widget.h.
virtual GtkWidget* gtkutil::Widget::_getWidget | ( | ) | const [protected, pure virtual] |
Construct and/or return the GtkWidget.
Implemented in gtkutil::SourceView, and gtkutil::TextPanel.
Referenced by getWidget().
GtkWidget* gtkutil::Widget::getWidget | ( | ) | const [inline] |
Return the GtkWidget for packing into the parent window.
This may be a single GtkWidget or a container which encloses multiple widgets. The widget is guaranteed to be shown when returned from this method.
Definition at line 32 of file Widget.h.
References _getWidget().