Gimp::basewidget - pragma to declare the superclass of a gtk widget
use Gimp::basewidget 'superclass';
use Gimp::basewidget Gtk::Button;
This pragma can (but does not need to) be used to declare the current package as a childclass of an existing Gtk widget class. The only ``import tag'' must be the name of the existing superclass.
The module automatically registers a subtype, calls a special callback at gtk initialization time and provides default implementations for some common methods (the list might grow in the future to enhance settor/gettor functionality).
The following methods are provided. All of them can be overriden in your package.
Gtk::Object::newwith all the provided arguments.
This was a pain to implement, you will not believe this when looking at the code, though.
Marc Lehmann <email@example.com>.
perl(1), the Gimp manpage, the Gimp::UI manpage, Gtk.