classref: Sync with current source

This commit is contained in:
Rémi Verschelde
2017-12-10 00:45:14 +01:00
parent e0d616fcd1
commit 9b84c92d53
80 changed files with 1477 additions and 766 deletions
+13 -3
View File
@@ -22,6 +22,8 @@ Member Functions
+----------------------------------------+-------------------------------------------------------------------+
| :ref:`ColorPicker<class_colorpicker>` | :ref:`get_picker<class_ColorPickerButton_get_picker>` **(** **)** |
+----------------------------------------+-------------------------------------------------------------------+
| :ref:`PopupPanel<class_popuppanel>` | :ref:`get_popup<class_ColorPickerButton_get_popup>` **(** **)** |
+----------------------------------------+-------------------------------------------------------------------+
Signals
-------
@@ -30,7 +32,7 @@ Signals
- **color_changed** **(** :ref:`Color<class_color>` color **)**
Emitted when the color is changed.
Emitted when the color changes.
Member Variables
@@ -38,11 +40,11 @@ Member Variables
.. _class_ColorPickerButton_color:
- :ref:`Color<class_color>` **color**
- :ref:`Color<class_color>` **color** - The currently selected color.
.. _class_ColorPickerButton_edit_alpha:
- :ref:`bool<class_bool>` **edit_alpha**
- :ref:`bool<class_bool>` **edit_alpha** - If ``true`` the alpha channel in the displayed :ref:`ColorPicker<class_colorpicker>` will be visible. Default value: ``true``.
Description
@@ -57,4 +59,12 @@ Member Function Description
- :ref:`ColorPicker<class_colorpicker>` **get_picker** **(** **)**
Returns the ``ColorPicker`` that this ``ColorPickerButton`` toggles.
.. _class_ColorPickerButton_get_popup:
- :ref:`PopupPanel<class_popuppanel>` **get_popup** **(** **)**
Returns the control's :ref:`PopupPanel<class_popuppanel>` which allows you to connect to Popup Signals. This allows you to handle events when the ColorPicker is shown or hidden.