GtkD: How to respond to cell edit's?

Johnson Jones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 17 17:17:04 PDT 2017


Trying to setup a callback that will propagate changes from a 
cell(and editable GtkCellRendererText) to my model.

Can't seem to find any way to get the actual GtkCellRendererText

CellRendererText has an addOnEdited but I can't find a way to get 
the CellRendererTExt for a TreeViewColumn ;/

All the examples I've seen create the renderer programmatically, 
while I'm using glade.

https://github.com/gtkd-developers/GtkD/blob/master/demos/gtkD/DemoMultiCellRenderer/DemoMultiCellRenderer.d

While I could ID the cell renderer in glade, I'd like to get it 
programmatically.

Any ideas?


More information about the Digitalmars-d-learn mailing list