[10360] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Thomas Mailund Jensen)
Tue Nov 24 06:36:04 1998

To: gtk-list@redhat.com
From: Thomas Mailund Jensen <mailund@daimi.au.dk>
Date: 24 Nov 1998 12:35:35 +0100
In-Reply-To: Lyndon Drake's message of "Tue, 24 Nov 1998 17:10:50 +1300"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

>>>>> "L" == Lyndon Drake <lyndon@stat.auckland.ac.nz> writes:

 L> Hi, I want to write a widget that is very similar to GtkText.
 L> Presumably the best way to do this is to derive it from GtkText.
 L> My main question is, is it possible to override some of GtkText's
 L> methods, while letting GtkText handle the functions that don't
 L> interest me?

I have done exactly this for my editor widget
<URL:http://www.daimi.au.dk/~mailund/gtk.html>

Maybe looking at the source for this will help you.

	/mailund

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post