Hi Daniel, > One question. I don't have glade-2 in my computer. Is this the same > program as the one you use to edit the interface?
Yes, glade-2 is the one I use both to edit the interface (when it's substantial changes, otherwise I prefer to edit the .glade file manually) and to generate the code. But it's not the same as glade3 or glade-gtk2 (which is a flavor of glade3) -- those edit the interface but do not generate C code anymore. > I am using glade-gtk2 but it does not support that option. I might have > to download and compile the older glade. The problem is that glade jumped from version 2 to version 3 ahead of GTK, and now there's two flavors of glade-3 around, one that supports GTK2 with libglade or equivalent, and one that targets GTK3 with gtkbuilder. Thus, we have: - glade-2: version 2 of Glade, last stable seems to be 2.12.2 and it's getting pretty deprecated; lets user edit the graphical interface and generate GTK2 C code directly. This is what I use. - glade-gtk2: version 3 of Glade targeted at GTK2, last stable seems to be 3.8.x, and newer Glade 3.x are not backward compatible with it anymore. I believe this one doesn't generate full-blown C code like that in xo-interface.c, but instead generates XML files that the application renders into a user interface at runtime using libglade/libgladeui. Ah, apparently GtkBuilder came in as a replacement for libglade/libgladeui sometime before the end of GTK2, so I'm not sure which versions of Glade3 generate libglade code and which ones generate GtkBuilder code. Presumably 3.8 can do either one. - glade3 or whatever it's called: the current version of Glade, which is now 3.14.x, targeted at GTK3, using GtkBuilder only and no longer compatible with Libglade (not to mention the generation of C code, which has been deprecated for a while). Yes, it's a mess. Ah, confirmation of the glade3 situation: as stated by Wikipedia: On 5 April 2011, two parallel installable stable Glade versions where released: Glade 3.8: That includes all support for GTK+ up till version 2.24. This version is to serve as a decent migration path for older projects migrating to GTK+ 3.0. Glade 3.10: That includes support only for widgets that are still included in GTK+ 3.0 and additionally drops support for Libglade. (now we're at 3.8.3 and 3.14.2). So: what xournal does is now doubly deprecated. Bleh. All I can say is I'm glad I didn't act on requests I received 2-3 years ago to upgrade the interface to glade3 with libglade, given how quickly that one also got deprecated. Best, Denis -- Denis Auroux aur...@math.berkeley.edu University of California, Berkeley Tel: 510-642-4367 Department of Mathematics Fax: 510-642-8204 817 Evans Hall # 3840 Berkeley, CA 94720-3840 ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel