Closed jonath92 closed 2 years ago
The title says pretty much everything. The get_clutter_text function of the imports.gi.St.Label should return a Clutter.Text instead of Clutter.Actor: https://github.com/Gr3q/types-cjs/blob/538162f28a1de8cf034739163ecd69057d83bcd7/St-1.0.d.ts#L632
get_clutter_text
imports.gi.St.Label
Clutter.Text
Clutter.Actor
As a workaround, it is possible to use simply the clutter_textprop directly as it is there correct: https://github.com/Gr3q/types-cjs/blob/538162f28a1de8cf034739163ecd69057d83bcd7/St-1.0.d.ts#L624
clutter_text
The title says pretty much everything. The
get_clutter_text
function of theimports.gi.St.Label
should return aClutter.Text
instead ofClutter.Actor
: https://github.com/Gr3q/types-cjs/blob/538162f28a1de8cf034739163ecd69057d83bcd7/St-1.0.d.ts#L632As a workaround, it is possible to use simply the
clutter_text
prop directly as it is there correct: https://github.com/Gr3q/types-cjs/blob/538162f28a1de8cf034739163ecd69057d83bcd7/St-1.0.d.ts#L624