On Mon, 29 May 2006 13:56:18 +0200, David Nečas (Yeti)
<[EMAIL PROTECTED]> wrote:
First of all, are you sure you want to exclude all derived
types?
Actually, I'm not. Thanks for pointing this out;
(switch+case is not possible as types are allocated
run-time).
Yeah, that's what I thought.
But if you want to accept subclasses too:
if (GTK_IS_ENTRY(widget)) {
...
}
else if (GTK_IS...
That's the ticket. Thanks!
--Daniel
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list