spinbox.ui 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.22.1 -->
  3. <interface domain="cui">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkAdjustment" id="adjustment1">
  6. <property name="upper">100000</property>
  7. <property name="step_increment">1</property>
  8. <property name="page_increment">10</property>
  9. </object>
  10. <object class="GtkDialog" id="SpinDialog">
  11. <property name="can_focus">False</property>
  12. <property name="type_hint">dialog</property>
  13. <child>
  14. <placeholder/>
  15. </child>
  16. <child internal-child="vbox">
  17. <object class="GtkBox">
  18. <property name="can_focus">False</property>
  19. <property name="orientation">vertical</property>
  20. <property name="spacing">2</property>
  21. <child internal-child="action_area">
  22. <object class="GtkButtonBox">
  23. <property name="can_focus">False</property>
  24. <property name="layout_style">end</property>
  25. <child>
  26. <object class="GtkButton" id="ok">
  27. <property name="label">gtk-ok</property>
  28. <property name="visible">True</property>
  29. <property name="can_focus">True</property>
  30. <property name="receives_default">True</property>
  31. <property name="use_stock">True</property>
  32. </object>
  33. <packing>
  34. <property name="expand">True</property>
  35. <property name="fill">True</property>
  36. <property name="position">0</property>
  37. </packing>
  38. </child>
  39. </object>
  40. <packing>
  41. <property name="expand">False</property>
  42. <property name="fill">False</property>
  43. <property name="position">0</property>
  44. </packing>
  45. </child>
  46. <child>
  47. <object class="GtkBox" id="SpinBox">
  48. <property name="visible">True</property>
  49. <property name="can_focus">False</property>
  50. <property name="hexpand">True</property>
  51. <property name="spacing">6</property>
  52. <child>
  53. <object class="GtkSpinButton" id="spin">
  54. <property name="visible">True</property>
  55. <property name="can_focus">True</property>
  56. <property name="hexpand">True</property>
  57. <property name="vexpand">True</property>
  58. <property name="truncate-multiline">True</property>
  59. <property name="adjustment">adjustment1</property>
  60. </object>
  61. <packing>
  62. <property name="expand">False</property>
  63. <property name="fill">True</property>
  64. <property name="position">0</property>
  65. </packing>
  66. </child>
  67. </object>
  68. <packing>
  69. <property name="expand">False</property>
  70. <property name="fill">True</property>
  71. <property name="position">1</property>
  72. </packing>
  73. </child>
  74. </object>
  75. </child>
  76. <action-widgets>
  77. <action-widget response="-5">ok</action-widget>
  78. </action-widgets>
  79. </object>
  80. </interface>