On Tue, Dec 26, 2006 at 03:34:40PM +0100, Tomasz Jankowski wrote:
> Can someone explain me, what abstract classes are and where I can use them?

Abstract clases are those you cannot create instances of.

If it does not make any sense to create instances of some
class, often because the actual functionality is defined by
subclasses, you make it abstract.

For example GtkContainer is abstract -- you can create
GtkHBoxes, GtkWindows, GtkTables, GtkLayouts, etc. but it
makes no sense to create instances of GtkContainer,
therefore it is also impossible.

Yeti


--
Whatever.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to