Open CsloudX opened 1 year ago
I think get_v_scroll()
and get_h_scroll()
should be added to get scroll bar nodes.
There's a workaround, it's possible to extract the child node that is a HScrollBar
, this is a workaround that works, though inconvenient, and unreliable as it's not exposed: tree.find_children("", "HScrollBar", false, false)
or just iterate over the children (including internal)
Describe the project you are working on
A GUI App
Describe the problem or limitation you are having in your project
I want listen if the Tree was scrolled but I'm not found any signals or ScrollBar memeber.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Exposed the ScrollBar member. Or implement some signal like
h_scrollbar_scrolled
and api likeset_h_scrollbar_value(value:float)
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
/
If this enhancement will not be used often, can it be worked around with a few lines of script?
No, I can't
Is there a reason why this should be core and not an add-on in the asset library?
It's core.