Re: Allow code in glade callbacks?



Ross McFarland wrote:
i like the name scaffold much better than anjuta2, that's cool, it at
least seems to suggest what it does.

I think so too, it is a nifty name. Supposedly it is completely plugin based and will use devhelp, glade, gtksourceview, etc. There's a 0.1 on gnome.org but I haven't touched it yet.


as for this patch i'd probably lean away from implementing the patch. as
it stands glade xml files are language independent, this would put
language specific stuff in them. there are a few examples out there
where glade xml files are provided with a library's code that implement
a default dialog box that projects using the library can use to get the
same feel as everyone else (gnome spell comes to mind) basically the
patch only makes things simpler, it doesn't provide functionality that
you wouldn't otherwise lack. i don't think blowing the glade xml format
would be worth it.

that being said this would possible be a good add on for someone to look
into. come up with a perl module (that would be rather simple) that read
in it's own xml format (like glade xml, but called something different.)
it could basically look through the file and pull out all of the code
putting it in functions with unique names and replace the code with that
function name. i would prefer something along these lines if this is
that big a deal.

A Gtk2::GladeXML::something module would be acceptable to me, even if I think that one shouldn't be doing it in the first place.

James



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]