[Glade-devel] glade patch

David Hampton wrote:

On Wed, 2003-12-24 at 10:47, taf2 lehigh edu wrote:

I have a new function to add to libglade it basically just makes it
easier to use glade for things such as the following:

I define a struct that contains my application state.
then i normally using gtk would just pass this via
g_signal_connect to each callback.  using 
glade_xml_signal_autoconnect  I have no way of doing this.
I believe I can accomplish what I want using 

You can.  We do this in the Gnucash source code with the callback from
glade_xml_signal_autoconnect_full.  Would be nice to have this
functionality embedded in libglade itself.



it is true you can do that with glade_xml_signal_autoconnect_full but 
wouldn't it
be much easier to just have a simple function that does it for you 
without having to
define a whole other function.  I like the idea of having a single 
function for this
because the autoconnect really is auto connecting and not making full use of
g_signal_connect which can take a parameter.  basically by adding the 
function _with_data
it is easier for people to use libglade.


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