Re: [Java-gnome-developer] Reading Quickly glade files
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-02-03 22:26:10
|
On Wed, 2010-02-03 at 14:25 -0500, Jacek Furmankiewicz wrote: > I did at one point try to start working on GtkBuilder support in > Java-GNOME You won't need JNA (and trying to use it will make disastrous mess, so you really don't want to try it). java-gnome is *already* a binding library. The _whole point_ of java-gnome is enabling people to add coverage they need. [this was fairly obvious when we re-engineered the library as java-gnome 4.0 back ~2006, but it seems to be missing from people's conceptual understanding of what the project is about these days, so perhaps we need to do some work to highlight that. On the website, maybe?] ++ Carlos suggested that maybe Andres saved in the new "builder" format rather than the original glade one? That's possible; Tristan et al want people to migrate to builder. Fair enough. So, like everything else in any library ever, someone will have to write it. In our case, that means adding a bit of coverage. Personally I haven't needed it (I don't use glade anymore; I find it a hindrance, but that's just my own experience) so I haven't written builder coverage myself. But that's ok, because someone else can :) If you want to have GtkBuilder support in java-gnome, then you simply need to add a complement of the present Glade.parse() code paths, and then implement GtkBuildable everywhere. Shouldn't be too hard, actually. What will take a little bit of doing is working out what our public API should be like. At first glance the libglade API would be a roadmap, but we'll see. Let's talk about it on java-gnome-hackers. AfC Sydney |