[Gtk-sharp-list] How to access glade elements and set properties

Jason Scurtu scurtu at mail.de
Fri Jun 19 12:14:22 UTC 2015


Hello everyone.

I am currently toying with Glade 3.19 on mono.
Is there a way to access Glade (GtkBuilder) classes and set the 
properties by code if they are not binded in GtkSharp 3.0 yet?

Normally I would access a GUI element with 
(WidgetType)GtkBuilder.GetObject("nameOfElement") and cast the widget to 
a variable, then set my properties etc from there on.

But lets say I want to use Gtk.ListBox and Gtk.ListBoxRow which I can 
not cast because GtkSharp does not know what Gtk.ListBox is.

Is that possible, and how could I do it?

Thanks

Jason


More information about the Gtk-sharp-list mailing list