On Tue, 2006-04-11 at 19:53 +0200, David Necas (Yeti) wrote: > Inherit from the class the widget actually *is*. If you > inherit from GtkFoo, your widget will inherit the properties > and methods (this is what inheritance is about) -- > gtk_foo_blow_up() can be expected to work with your new > widget too. Well, life is not that simple, so in practice > not everything inherited makes always sense, but you get the > idea.
ok, I think I understand now. but somehow it seems that my class has some mistake in it (see attachment). I'm calling it like this in my code: ******** . . window->priv->object = app_calendar_new (); gtk_box_pack_end (GTK_BOX (main_box), GTK_WIDGET(window->priv->object), TRUE, TRUE, 0); . . ******** all objects before and after this code get created and displayed correctly, only my self made object refuses to show up. maybe someone can help me with this, cheers, Andreas
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list