WindowDialog.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="WindowDialog" inherits="Popup" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Base class for window dialogs.
  5. </brief_description>
  6. <description>
  7. Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel [Control] that draws a window decoration and allows motion and resizing.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_close_button">
  15. <return type="TextureButton">
  16. </return>
  17. <description>
  18. Return the close [TextureButton].
  19. </description>
  20. </method>
  21. <method name="get_resizable" qualifiers="const">
  22. <return type="bool">
  23. </return>
  24. <description>
  25. </description>
  26. </method>
  27. <method name="get_title" qualifiers="const">
  28. <return type="String">
  29. </return>
  30. <description>
  31. Return the title of the window.
  32. </description>
  33. </method>
  34. <method name="set_resizable">
  35. <return type="void">
  36. </return>
  37. <argument index="0" name="resizable" type="bool">
  38. </argument>
  39. <description>
  40. </description>
  41. </method>
  42. <method name="set_title">
  43. <return type="void">
  44. </return>
  45. <argument index="0" name="title" type="String">
  46. </argument>
  47. <description>
  48. Set the title of the window.
  49. </description>
  50. </method>
  51. </methods>
  52. <members>
  53. <member name="resizable" type="bool" setter="set_resizable" getter="get_resizable">
  54. </member>
  55. <member name="window_title" type="String" setter="set_title" getter="get_title">
  56. </member>
  57. </members>
  58. <constants>
  59. </constants>
  60. <theme_items>
  61. <theme_item name="close" type="Texture">
  62. </theme_item>
  63. <theme_item name="close_h_ofs" type="int">
  64. </theme_item>
  65. <theme_item name="close_highlight" type="Texture">
  66. </theme_item>
  67. <theme_item name="close_v_ofs" type="int">
  68. </theme_item>
  69. <theme_item name="panel" type="StyleBox">
  70. </theme_item>
  71. <theme_item name="scaleborder_size" type="int">
  72. </theme_item>
  73. <theme_item name="title_color" type="Color">
  74. </theme_item>
  75. <theme_item name="title_font" type="Font">
  76. </theme_item>
  77. <theme_item name="title_height" type="int">
  78. </theme_item>
  79. </theme_items>
  80. </class>