WindowDialog.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="WindowDialog" inherits="Popup" version="3.2">
  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. <methods>
  12. <method name="get_close_button">
  13. <return type="TextureButton">
  14. </return>
  15. <description>
  16. Returns the close [TextureButton].
  17. </description>
  18. </method>
  19. </methods>
  20. <members>
  21. <member name="resizable" type="bool" setter="set_resizable" getter="get_resizable" default="false">
  22. If [code]true[/code], the user can resize the window.
  23. </member>
  24. <member name="window_title" type="String" setter="set_title" getter="get_title" default="&quot;&quot;">
  25. The text displayed in the window's title bar.
  26. </member>
  27. </members>
  28. <constants>
  29. </constants>
  30. <theme_items>
  31. <theme_item name="close" type="Texture">
  32. </theme_item>
  33. <theme_item name="close_h_ofs" type="int" default="18">
  34. </theme_item>
  35. <theme_item name="close_highlight" type="Texture">
  36. </theme_item>
  37. <theme_item name="close_v_ofs" type="int" default="18">
  38. </theme_item>
  39. <theme_item name="panel" type="StyleBox">
  40. </theme_item>
  41. <theme_item name="scaleborder_size" type="int" default="4">
  42. </theme_item>
  43. <theme_item name="title_color" type="Color" default="Color( 0, 0, 0, 1 )">
  44. </theme_item>
  45. <theme_item name="title_font" type="Font">
  46. </theme_item>
  47. <theme_item name="title_height" type="int" default="20">
  48. </theme_item>
  49. </theme_items>
  50. </class>