Re: [java-gnome-hackers] Constructors for Canvas Items
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2002-09-21 14:13:32
|
On Sat, 2002-09-21 at 04:38, Philip A. Chapman wrote: > Everyone, >=20 > Gnome canvas items are a little unique. There is a single constructor > function that takes a parameter list with a variable number of > parameters: [snip] > I think that this approach will work, but I am not sure that it is the > best way or that I have done it 100% correctly. I would appreciate any > input you may have on the code in the java classes or the C source. Sorry, don't have the gnome docs at the moment. Where this happens in Gtk, they usually create a number of methods specifically for bindings, including new() and setValue(String, whatever) The way you do it seems good though. Test apps would be a good way to verify that the c code works - it looks fine.=20 --=20 +----------------------------------------------+ | Mark Howard cam.ac.uk mh344@ | | http://www.tildemh.com tildemh.com mh@ | +----------------------------------------------+ |