Attempting to find the Javascript Code behind St.BoxLayout.add

I’m trying to find the javascript implementation of the St.BoxLayout.add method as illustrated on lines 23 and 24, here:

I am trying to create my own language bindings for Raku in the style of the JS bindings shown in the link above, but for the life of me, I can’t find the .add method anywhere.

Of particular interest is this form of .add:

hb.add(new St.Label({ text: label }), { y_fill: false });

Where the second parameter looks to refer to the setting of the property y_fill. Are these supposed to be child properties of the BoxLayout? If so, where can I find a full list of these properties so that I can account for them in my code?


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.