In python, I could just do builder.connect_signals(self)
. It doesn't seem like this method exists in C#, and after looking at the GtkBuilder documentation, it looks like python is the exception, rather than the rule. How would I accomplish the same thing in C#?
views:
348answers:
1
+1
A:
Right now Gtk.Builder is not fully implemented in the current version of Gtk# (2.12). This thread explains the current situation. So once Gtk# 2.14 is released, you can just do:
builder.Autoconnect (this);
In the meantime you could use Glade.XML, and then convert your code (and glade files) as described here: http://lists.ximian.com/pipermail/gtk-sharp-list/2008-October/009157.html
DoR
2009-11-07 22:22:54
Thanks, that's good to know. Any word on when 2.14 will be released?
Matthew
2009-11-07 23:40:00
Hmm this makes it sound like they're skipping 2.14+ in favor of 3.x:http://www.mono-project.com/GtkSharpPlan#Release_plan
Matthew
2009-11-07 23:46:08