On 02/20/2017 03:48 PM, Gerald Nunn wrote:
On Sun, 19 Feb 2017 19:44:33 GMT, Erdem wrote:
Is there a way to setProperty "model" of cellrenderercombo?
I ended up calling
`g_object_set
` directly to do this in Terminix, you can see an example here:https://github.com/gnunn1/terminix/blob/master/source/gx/terminix/prefeditor/profileeditor.d#L1493
Or you can wrap it in an gobject.Value, although Value could use an
constructor that accepts ObjectG.
auto val = new Value();
val.init(listStoreManufacturers.getType());
val.setObject(listStoreManufacturers);
rendererCombo.setProperty("model", val);