Compiling with gmodule-export is only needed for unices, but the G_MODULE_EXPORT macro works too, I just tested, and it seems to be cross platform. Glade seems to have several advantages : flexible interface, internationalization, less code written so statistically less bugs… While it does not complicate compilation, I think it is a good way to design quickly interfaces.
2012/12/18 Richard Shann <[email protected]> > Mmm, I was rather fearing that - this dynamic loading of plugins stuff > would add complication to the building of Denemo. (I am looking at the > links you gave, I see that there is conditional code needed for windows, > more stuff to be located correctly at run time etc). > Since I haven't got much competence in this area, and none in creating > user interfaces via helper tools I am not well placed to either > encourage or discourage you. Perhaps Jeremiah will have a more informed > opinion on the application of GUB to generating plugin stuff. > > Another thought: perhaps the most valuable part of such work would not > be the code glade generated but the design of the interaction with the > user. If this existed on a branch in our git, it would be a > straight-forward job to implement the design in the existing code by > writing the widget creation code by hand in C. (Tedious, but > straight-forward). > > Ah - I see I missed the line in your email about your account on > Savannah - if Jeremiah can set up access for you then you could create a > branch for this new work and then we can experiment with this stuff. > > Richard > > > > > > On Mon, 2012-12-17 at 23:47 +0100, loi Rivard wrote: > > Richard, > > It's needed by gtkbuilder to dynamically load signals : > > > http://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-connect-signals. > Reading > http://developer.gnome.org/glib/stable/glib-Dynamic-Loading-of-Modules.html, > my guess is that it allows some kind of introspection to connect signals > defined in a glade file to the right handlers. > > > > Jeremiah, > > My account on savannah is "eloi". > > > > 2012/12/17 Jeremiah Benham <[email protected]> > > Eloi, do you have an account with savannah? If so I give you > > see what I have to do to give you write access tonight or > > tomorrow. > > > > Jeremiah > > > > > > "loi Rivard" <[email protected]> wrote: > > That would be great ! > > It needs gmodule-export but your test works very > > well ! > > > > > > 2012/12/14 Richard Shann <[email protected]> > > On Thu, 2012-12-13 at 21:45 +0100, loi Rivard > > wrote: > > > Is it ok if I start to implement my Glade > > mockups with GtkBuilder ? > > > > > > Sounds wonderful! A note of caution though - > > is it really possible to > > have a small part of the interface built with > > GtkBuilder while the rest > > is hand-built? There is already one .xml file > > describing part of the > > interface (src/denemoui.xml which contains the > > fossilized built-in > > commands), and occasionally I find skeletons > > rattling around in there. > > > > So I would try out a *tiny* example first just > > to check that there > > aren't some nasty gotchas waiting to pounce. > > Truly tiny, just a window > > with a button that does some single Denemo > > command (such as > > call_out_to_guile("(d-Play)") for example). > > > > You will need a git branch to do this work > > on. Perhaps Jeremiah can > > arrange that? > > > > Richard > > > > > > > > > > > > > > > > > 2012/11/5 Richard Shann > > <[email protected]> > > > On Sun, 2012-11-04 at 19:02 +0100, > > loi Rivard wrote: > > > > Score Titles GtkHBox is what I > > have called User menu in > > > the > > > > mockup. > > > > > > Yes > > > > > > > > Gimp-like tool panels that users > > could create, edit, move > > > where he > > > > wants on the "workspace", display > > or hide… would be great > > > indeed ! > > > > > > > > > Yes, though I get the impression > > that there is a clash of > > > cultures - > > > some window managers always open > > windows at full screen (or > > > something) > > > which implies a different sort of > > design. I recall hearing > > > strong > > > objections to the gimp interface > > from some users. > > > In any case, for Denemo, it is > > enough to leave a space in the > > > interface > > > for expansion in that direction. > > > > > > Richard > > > > > > > > > > > > > > > > > > -- > > > loi Rivard - [email protected] > > > > > > On perd plus tre indcis qu' se > > tromper. > > > > > > > > > > > > > > > > > > > > > > -- > > > > Sent from my Android phone with K-9 Mail. Please excuse my > > brevity. > > > > > > > > -- > > loi Rivard - [email protected] > > > > On perd plus tre indcis qu' se tromper. > > > > > > > -- Éloi Rivard - [email protected] « On perd plus à être indécis qu'à se tromper. »
_______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
