Re: how are interfaces created? (talking about the Java-like "interface")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 29, 2005 at 12:03:59PM -0800, Ben Johnson wrote:
...
> gathered that an object of GnomeCanvasGroupExtClass is by definition
> also a G_TYPE_PRINTABLE.  In the code you just posted...
> 
> > 		if (GNOME_IS_CANVAS_GROUP_EXT(item))
> > 			gnome_canvas_group_ext_print (G_PRINTABLE (item), pc);
> > 		else if (G_IS_PRINTABLE (item))
> > 		{
> 
> I'm assuming that GNOME_IS_CANVAS_GROUP_EXT(item) tests to see if item
> is an object of the GnomeCanvasGroupExtClass class and G_IS_PRINTABLE()
> tests to see if item is a G_TYPE_PRINTABLE.  If one is true, isn't the
> other?

hrm.  I guess the idea is that not all the list items are necessarily
CANVAS_GROUP_EXT types, but some of those may be PRINTABLE.  I get it.
never mind.

- Ben
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux