2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2019-07-05 09:32:53 +00:00
|
|
|
<class name="SplitContainer" inherits="Container" category="Core" version="3.1.2">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
|
|
|
Container for splitting and adjusting.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio.
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2018-11-23 00:06:24 +00:00
|
|
|
<method name="clamp_split_offset">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-12 20:42:36 +00:00
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed">
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="dragger_visibility" type="int" setter="set_dragger_visibility" getter="get_dragger_visibility" enum="SplitContainer.DraggerVisibility">
|
2018-04-17 14:18:57 +00:00
|
|
|
Determines whether the dragger is visible.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="split_offset" type="int" setter="set_split_offset" getter="get_split_offset">
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<signals>
|
|
|
|
<signal name="dragged">
|
|
|
|
<argument index="0" name="offset" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
Emitted when the dragger is dragged by user.
|
|
|
|
</description>
|
|
|
|
</signal>
|
|
|
|
</signals>
|
|
|
|
<constants>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="DRAGGER_VISIBLE" value="0" enum="DraggerVisibility">
|
2017-09-12 20:42:36 +00:00
|
|
|
The split dragger is visible.
|
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="DRAGGER_HIDDEN" value="1" enum="DraggerVisibility">
|
2017-09-12 20:42:36 +00:00
|
|
|
The split dragger is invisible.
|
|
|
|
</constant>
|
2017-11-24 22:16:30 +00:00
|
|
|
<constant name="DRAGGER_HIDDEN_COLLAPSED" value="2" enum="DraggerVisibility">
|
2017-09-12 20:42:36 +00:00
|
|
|
The split dragger is invisible and collapsed.
|
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|