Re: How to "extend" a widget?



On 12/16/2011 03:03 PM, Michael Cronenworth wrote:
Widgets are not plugins. They are whole objects. There is no extensible 
feature to them.

Just for your information, here's a couple of examples of extending
GtkButton using inheritance and the GObject Builder tool:

http://www.jirka.org/gtk-button-count.gob.html
http://www.jirka.org/my-person.gob.html

Converting the gob code to C and you should see how to do it in straight C.



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