Re: [Java-gnome-developer] Thanks and some questions
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2003-06-30 08:46:17
|
On Sun, 2003-06-29 at 21:30, Mikael Hallendal wrote: > This might be the underlying GTK+ that makes this hard. Since C/GTK+ > doesn't have ref counts as in Java I'm not sure if the fact that you > keep a java ref on an object makes you have a gtk-ref on the C-object. > > My guess is that you have to be careful how you use the widgets and that > you will have to explicitly call g_object_ref (not sure if that is > wrapped or not) to keep a reference to a widget in a closed window after > destroying the window but I'm not sure. I've been talking about this lately to the other java-gnome developers. We are probably going to implement a system so that there will always be a gtk-ref when the java object exists. Implementation of this is being delayed until after 0.8 release. > You probably want to work with Glade/Libglade (not sure if it is wrapped > in java-gnome yet) It is done with java-gnome, although I've not used it myself yet. Not in the Debian packages at the moment (perhaps I'll find some free time this week...) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |