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
Is it possible to use (make <GValue> #:type <GClosure>) in order to make it pass the type to use in the call to g_value_init, but not the value ? This would be in order to get the glib default value of that type.
(Also, I don't seem to get an error or warning message on (make <GValue> #:quoox 2) either. Is that on purpose?)
I want that in order to be able to leave cells off in a GtkTreeStore row (specifically to leave GClosure cells off) by having an empty but type-tagged GValue that I then set via tree-store:set. It's also possible to just not specify that cell on tree-store:set in the first place--but still, I think the handling of GValue here is maybe weird. Not sure, though.
The text was updated successfully, but these errors were encountered:
daym
changed the title
Leave cells off in GtkTreeStore
Support GValue with type tag but unset-value-from-guile in order to get the glib-default value of that type
Oct 26, 2020
Is it possible to use
(make <GValue> #:type <GClosure>)
in order to make it pass the type to use in the call tog_value_init
, but not the value ? This would be in order to get the glib default value of that type.(Also, I don't seem to get an error or warning message on
(make <GValue> #:quoox 2)
either. Is that on purpose?)I want that in order to be able to leave cells off in a GtkTreeStore row (specifically to leave GClosure cells off) by having an empty but type-tagged GValue that I then set via
tree-store:set
. It's also possible to just not specify that cell ontree-store:set
in the first place--but still, I think the handling ofGValue
here is maybe weird. Not sure, though.C program to play with:
The text was updated successfully, but these errors were encountered: