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
Currently, return values from vfuncs implemented by GObject subclasses are not converted.
For example, if I want to implement the vfunc get_request_mode, I would normally assume I have to return a Gtk::SizeRequestMode. However, the current implementation wants me to return a UInt32.
I think we can copy the code used for conversion to c-types from the signal implementation (which is what I did for the vfunc parameters as well).
The text was updated successfully, but these errors were encountered:
BlobCodes
changed the title
Outputs from vfuncs are not converted
Return types from vfuncs are not converted
Jun 17, 2022
(yes this is my fault)
Currently, return values from vfuncs implemented by GObject subclasses are not converted.
For example, if I want to implement the vfunc
get_request_mode
, I would normally assume I have to return aGtk::SizeRequestMode
. However, the current implementation wants me to return aUInt32
.I think we can copy the code used for conversion to c-types from the signal implementation (which is what I did for the vfunc parameters as well).
The text was updated successfully, but these errors were encountered: