[Gtk-sharp-list] How to access glade elements and set properties
nyx at mail.ru
Thu Jul 9 12:01:09 UTC 2015
You can build this version updated to gtk+ 3.14
https://github.com/openmedicus/gtk-sharp it has listbox.
If you are on windows you can build latest gtk from here
https://github.com/Wesley-Chan/GTK-for-Windows or download already built
one from here https://www.dropbox.com/sh/8d1qbh5dsp044on/UgkALzhlqH
On Fri, 19 Jun 2015 15:14:22 +0300, Jason Scurtu <scurtu at mail.de> wrote:
> 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?
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
Best regards, Pavel.
More information about the Gtk-sharp-list