Re: subclass, custom widget

Jim Donoghue said:
How do I properly create a custom widget? What I need to do is create a
HBox with a label, an entry, and a button, that I can use like this:

for a simple composite widget, just add the base class to the child class'
@ISA, or do a 'use base'.

for full-featured widgets with signals and properties, see Glib::Object::Subclass

and the example:

muppet <scott at asofyet dot org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]