Re: [gtk-list] Deriving a new widget from GtkText




On Tue, 24 Nov 1998, Lyndon Drake wrote:
> I want to write a widget that is very similar to GtkText.  Presumably
> the best way to do this is to derive it from GtkText.  My main question
> is, is it possible to override some of GtkText's methods, while letting
> GtkText handle the functions that don't interest me? 

Yes, but you have to understand Gtk's object system, which can be a fun
time. Read about creating widgets in the tutorial.

You can also use Gtk-- and override the _impl functions.

Havoc




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