parameters to signal handler and gtk_builder_connect_signals.

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

 



This is probably one of the RTFM moments but how the heck to you connect
a parameter to signal if you use gtk_builder_connect_signals()?

I have a lot of callbacks in my forms and I don't want to write pedantic
g_signal_connect() code so I thought I would just put it in the glade
file.  That worked fine until I wanted to pass some data in.  Then I
kept getting "Gtk-WARNING **: Could not lookup object ...".  Then I read
the man page and it appears to say that you can only have one data item
which will be passed to all callbacks.   That seems rather stupid.

Can someone spare a clue?  I seem to have left all of mine in my other
pants.

--David.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux