Hi! I had worked on that a long time ago. However, I've been really busy the last year, so I had no time to finish it. I case any of you is interested on this, I have pushed the last code I had to:
http://research.operationaldynamics.com/bzr/java-gnome/hackers/vreixo/gtkbuilder/ The approach is rather different to both Gtk+ and the old java-gnome way of handling glade-based UI. My approach makes use of java annotations, which provides an elegant and highly productive way of dealing with the loading of glade-based files. It is based on an old (and great!) code submitted by Franco Bulgarelli. I remember to have written some examples/demos, so I hope that would be enough for you to understand how this works. In any case, I think I have not finished the support for thing like handlers. In fact, my local branch has several uncommitted changes related with handler support. Unfortunately, my last commit is almost a year ago, and I don't really remember what my code was or what parts were missing. I would need to spend some time on it, but I am writing my PhD thesis right now and I have no time for this, I'm really sorry. I just remember most of the work was already done. I will try to finish this as long as I have time, but that won't be at least until November. Please remember me my commitment if you don't hear anything from me by then. In any case, if any of you wants to continue my work, be free to contact me. I be willing to send you the uncommitted changes I have and help you as most as I can. Best regards Vreixo ----- Mensagem original ----- De: Andrew Cowie <and...@operationaldynamics.com> Para: java-gnome-developer@lists.sourceforge.net Cc: Vreixo Formoso Lopes <metalpain2...@yahoo.es> Enviadas: Segunda-feira, 17 de Setembro de 2012 4:50 Assunto: Re: [Java-gnome-developer] Glade and org.gnome.gtk.Builder On Sun, 2012-09-16 at 21:11 -0400, Jason Martin wrote: > I can then pre-define Label() or whatever widget before calling > builder and it works. Ah, damn. Not your fault. There is an engineering problem and unfortunately the person working on it has been busy with other work the past year. Have a read of http://article.gmane.org/gmane.comp.gnome.bindings.java.devel/1606 For the mean time, the workaround of forcing instantiation of the [native] class is indeed going to work. I'll see if we can get our heads together to get a more proper fix. Clearly this sucks; I'll start a thread on java-gnome-hackers. AfC Sydney ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ java-gnome-developer mailing list java-gnome-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/java-gnome-developer