You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
I have done this for a ListStore / TreeView, here is the basic logic:
store = ListStore(String,...)
r = CellRendererText()
set_gtk_property!(r, :editable, true)
c = TreeViewColumn(col, r, Dict("text" => 0))
G_.sort_column_id(c,0)
G_.resizable(c,true)
signal_connect(r, "edited") do widget, path, text
# now you can do something with `string(text)`, which is the new text
end
@tknopp a final question. How can I include a ComboBox to display values when editing a cell un the treeview. I know that the function CellRendererCombo exists but I couldn't find a code example.
Does anybody know how to make a cell editable in a treeview?
I was available to set the editable property and works, but whem I press enter the value becomes the original.
Thanks
The text was updated successfully, but these errors were encountered: