Re: [gtk-list] Deriving a new widget from GtkText
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: GTK+ list <gtk-list redhat com>
- Subject: Re: [gtk-list] Deriving a new widget from GtkText
- Date: Mon, 23 Nov 1998 23:16:06 -0600 (CST)
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]