Hmm ... You are right. I wasn't being very clear. My apology. I must admit that I'm a bit confused with the typing system works (i.e. I'm using classes with everything without any "type"). Anyway my solution, at the moment at least, is to use GTK_IS_XXX as you said. Same thing as ruby_gtk. I just use a small script to make it easier. Thanks for the tips Sven! I appreciate it, marc _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list