WindowDialog.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="WindowDialog" inherits="Popup" category="Core" version="3.1">
  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. </methods>
  22. <members>
  23. <member name="resizable" type="bool" setter="set_resizable" getter="get_resizable">
  24. If [code]true[/code], the user can resize the window. Default value: [code]false[/code].
  25. </member>
  26. <member name="window_title" type="String" setter="set_title" getter="get_title">
  27. The text displayed in the window's title bar.
  28. </member>
  29. </members>
  30. <constants>
  31. </constants>
  32. <theme_items>
  33. <theme_item name="close" type="Texture">
  34. </theme_item>
  35. <theme_item name="close_h_ofs" type="int">
  36. </theme_item>
  37. <theme_item name="close_highlight" type="Texture">
  38. </theme_item>
  39. <theme_item name="close_v_ofs" type="int">
  40. </theme_item>
  41. <theme_item name="panel" type="StyleBox">
  42. </theme_item>
  43. <theme_item name="scaleborder_size" type="int">
  44. </theme_item>
  45. <theme_item name="title_color" type="Color">
  46. </theme_item>
  47. <theme_item name="title_font" type="Font">
  48. </theme_item>
  49. <theme_item name="title_height" type="int">
  50. </theme_item>
  51. </theme_items>
  52. </class>