Re: [gnomemm] Query for GNOME Canvas



On Tue, 2002-12-31 at 11:14, Murray Cumming wrote:
> On Tue, 2002-12-31 at 07:39, Nasir Chandwale wrote:
> > Hi
> > 
> > "We are working with gnome libraries. Our requirement is to get
> > different 
> > items added to the group. In gnome-2.0 we had a member "item_list" in
> > group 
> > structure and could traverse this list to get the items in the group.
> > But we 
> > don't find any such member in gnomemm Group class. How can we get the
> > items 
> > in the group??"
> > 
> > Regards,
> > 
> > Nasir Chandwale
> 
> What is this "group structure"? What Group class do you mean? Please
> mention a specific type name or function name. Please give the full
> name, including namespaces, if it is C++. Ideally, you could give us a
> URL to the C or C++ documentation.

I see now from the email's subject that you are talking about
libgnomecanvasmm and Gnome::Canvas::Group:
http://www.gtkmm.org/gnomemm2/reference/html/classGnome_1_1Canvas_1_1Group.html
which wraps
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/libgnomecanvas-gnomecanvasgroup.html
I was confused by the different email subject that you used in the 1st
copy of your message.

I'm not sure that those GnomeCanvasGroup struct fields are public, but
you can always use gobj() to get the underlying GnomeCanvasGroup* from
the Gnome::Canvas::Group. Then you can do whatever you want with it,
maybe calling Glib::wrap() on the GList items.

If you want this wrapped in a future libgnomecanvasmm then you should
submit a bugzilla bug:
http://www.gtkmm.org/bugs.shtml

-- 
Murray Cumming
murray usa net
www.murrayc.com




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