class_editorproperty.rst 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the EditorProperty.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_EditorProperty:
  6. EditorProperty
  7. ==============
  8. **Inherits:** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Properties
  13. ----------
  14. +-----------------------------+-----------------------------------------------------------+
  15. | :ref:`bool<class_bool>` | :ref:`checkable<class_EditorProperty_property_checkable>` |
  16. +-----------------------------+-----------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`checked<class_EditorProperty_property_checked>` |
  18. +-----------------------------+-----------------------------------------------------------+
  19. | :ref:`bool<class_bool>` | :ref:`draw_red<class_EditorProperty_property_draw_red>` |
  20. +-----------------------------+-----------------------------------------------------------+
  21. | :ref:`bool<class_bool>` | :ref:`keying<class_EditorProperty_property_keying>` |
  22. +-----------------------------+-----------------------------------------------------------+
  23. | :ref:`String<class_String>` | :ref:`label<class_EditorProperty_property_label>` |
  24. +-----------------------------+-----------------------------------------------------------+
  25. | :ref:`bool<class_bool>` | :ref:`read_only<class_EditorProperty_property_read_only>` |
  26. +-----------------------------+-----------------------------------------------------------+
  27. Methods
  28. -------
  29. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`emit_changed<class_EditorProperty_method_emit_changed>` **(** :ref:`String<class_String>` property, :ref:`Variant<class_Variant>` value, :ref:`String<class_String>` field="", :ref:`bool<class_bool>` changing=false **)** |
  31. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | :ref:`Object<class_Object>` | :ref:`get_edited_object<class_EditorProperty_method_get_edited_object>` **(** **)** |
  33. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  34. | :ref:`String<class_String>` | :ref:`get_edited_property<class_EditorProperty_method_get_edited_property>` **(** **)** |
  35. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  36. | :ref:`String<class_String>` | :ref:`get_tooltip_text<class_EditorProperty_method_get_tooltip_text>` **(** **)** const |
  37. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  38. | void | :ref:`update_property<class_EditorProperty_method_update_property>` **(** **)** virtual |
  39. +-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  40. Signals
  41. -------
  42. .. _class_EditorProperty_signal_multiple_properties_changed:
  43. - **multiple_properties_changed** **(** :ref:`PoolStringArray<class_PoolStringArray>` properties, :ref:`Array<class_Array>` value **)**
  44. ----
  45. .. _class_EditorProperty_signal_object_id_selected:
  46. - **object_id_selected** **(** :ref:`String<class_String>` property, :ref:`int<class_int>` id **)**
  47. ----
  48. .. _class_EditorProperty_signal_property_changed:
  49. - **property_changed** **(** :ref:`String<class_String>` property, :ref:`Nil<class_Nil>` value **)**
  50. ----
  51. .. _class_EditorProperty_signal_property_checked:
  52. - **property_checked** **(** :ref:`String<class_String>` property, :ref:`String<class_String>` bool **)**
  53. ----
  54. .. _class_EditorProperty_signal_property_keyed:
  55. - **property_keyed** **(** :ref:`String<class_String>` property **)**
  56. ----
  57. .. _class_EditorProperty_signal_property_keyed_with_value:
  58. - **property_keyed_with_value** **(** :ref:`String<class_String>` property, :ref:`Nil<class_Nil>` value **)**
  59. ----
  60. .. _class_EditorProperty_signal_resource_selected:
  61. - **resource_selected** **(** :ref:`String<class_String>` path, :ref:`Resource<class_Resource>` resource **)**
  62. ----
  63. .. _class_EditorProperty_signal_selected:
  64. - **selected** **(** :ref:`String<class_String>` path, :ref:`int<class_int>` focusable_idx **)**
  65. Property Descriptions
  66. ---------------------
  67. .. _class_EditorProperty_property_checkable:
  68. - :ref:`bool<class_bool>` **checkable**
  69. +----------+----------------------+
  70. | *Setter* | set_checkable(value) |
  71. +----------+----------------------+
  72. | *Getter* | is_checkable() |
  73. +----------+----------------------+
  74. ----
  75. .. _class_EditorProperty_property_checked:
  76. - :ref:`bool<class_bool>` **checked**
  77. +----------+--------------------+
  78. | *Setter* | set_checked(value) |
  79. +----------+--------------------+
  80. | *Getter* | is_checked() |
  81. +----------+--------------------+
  82. ----
  83. .. _class_EditorProperty_property_draw_red:
  84. - :ref:`bool<class_bool>` **draw_red**
  85. +----------+---------------------+
  86. | *Setter* | set_draw_red(value) |
  87. +----------+---------------------+
  88. | *Getter* | is_draw_red() |
  89. +----------+---------------------+
  90. ----
  91. .. _class_EditorProperty_property_keying:
  92. - :ref:`bool<class_bool>` **keying**
  93. +----------+-------------------+
  94. | *Setter* | set_keying(value) |
  95. +----------+-------------------+
  96. | *Getter* | is_keying() |
  97. +----------+-------------------+
  98. ----
  99. .. _class_EditorProperty_property_label:
  100. - :ref:`String<class_String>` **label**
  101. +----------+------------------+
  102. | *Setter* | set_label(value) |
  103. +----------+------------------+
  104. | *Getter* | get_label() |
  105. +----------+------------------+
  106. ----
  107. .. _class_EditorProperty_property_read_only:
  108. - :ref:`bool<class_bool>` **read_only**
  109. +----------+----------------------+
  110. | *Setter* | set_read_only(value) |
  111. +----------+----------------------+
  112. | *Getter* | is_read_only() |
  113. +----------+----------------------+
  114. Method Descriptions
  115. -------------------
  116. .. _class_EditorProperty_method_emit_changed:
  117. - void **emit_changed** **(** :ref:`String<class_String>` property, :ref:`Variant<class_Variant>` value, :ref:`String<class_String>` field="", :ref:`bool<class_bool>` changing=false **)**
  118. ----
  119. .. _class_EditorProperty_method_get_edited_object:
  120. - :ref:`Object<class_Object>` **get_edited_object** **(** **)**
  121. ----
  122. .. _class_EditorProperty_method_get_edited_property:
  123. - :ref:`String<class_String>` **get_edited_property** **(** **)**
  124. ----
  125. .. _class_EditorProperty_method_get_tooltip_text:
  126. - :ref:`String<class_String>` **get_tooltip_text** **(** **)** const
  127. ----
  128. .. _class_EditorProperty_method_update_property:
  129. - void **update_property** **(** **)** virtual