[Glade-users] Use GtkBuilder or libGlade in new codes?



Actually, along those lines...

I just started using GtkBuilder and for the most part, it's the same 
thing. The one extra step of running the conversion script isn't so bad 
as I just add it to the build process during development.

However, if I'm not mistaking, there is no replacement for 
glade_xml_signal_connect_data() and instead I have to write my own 
function to handle signal connections when I have different user_data 
for various callbacks which are not objects found within the UI file 
itself. Is this correct?

- Micah Carrick

  Developer - http://www.micahcarrick.com
  GTK+ Forums - http://www.gtkforums.com



Tristan Van Berkom wrote:
On Dec 26, 2007 11:59 AM, Lupine <thelupine at gmail.com 
<mailto:thelupine at gmail.com>> wrote:

    On Wed, 2007-12-26 at 11:40 -0200, Tristan Van Berkom wrote:

    > Yes GtkBuilder is the new way, here is the tracker on builder
    > support in glade:
    >   http://bugzilla.gnome.org/show_bug.cgi?id=490678


    Can you (or anyone else) shed some light on the benefits of this?  Was
    there a problem with the libglade way?  Or was this a house-cleaning
    deal to keep everything within Gtk itself?  Just Just curious,
    because
    my Googling so far hasn't turned up any of the expected "Wow, it's
    ###%
    faster using this" or "Wow, it this is ###% more efficient"...etc.
     From
    my limited knowledge of C, and first couple of glances at it, it just
    looks like more code is needed to accomplish the same thing.


Are we are talking about glade_xml_new() vs. gtk_builder_add_from_file() ?

Building an interface in libglade or gtkbuilder is only a few lines of 
code,
how could this be of any consequence to anyone ?

Cheers,
                  -Tristan

------------------------------------------------------------------------

_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20071226/dc1bc3b2/attachment.html 




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