Advertisement
dsreyes1014

builder.ui

Jan 27th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <interface>
  2. <menu id="appmenu">
  3. <section>
  4. <item>
  5. <attribute name="label" translatable="yes">_Preferences</attribute>
  6. <attribute name="action">app.preferences</attribute>
  7. </item>
  8. </section>
  9. <section>
  10. <item>
  11. <attribute name="label" translatable="yes">_About</attribute>
  12. <attribute name="action">app.about</attribute>
  13. </item>
  14. <item>
  15. <attribute name="label" translatable="yes">_Quit</attribute>
  16. <attribute name="action">app.quit</attribute>
  17. </item>
  18. </section>
  19. </menu>
  20. <object class="GtkApplicationWindow" id="main-window">
  21. <property name="default-height">600</property>
  22. <property name="default-width">800</property>
  23. <signal name="destroy" handler="main-app-close-cb"/>
  24. <child type="titlebar">
  25. <object class="GtkHeaderBar" id="header-bar">
  26. <property name="visible">True</property>
  27. <property name="show-close-button">True</property>
  28. <property name="title">Write2Chordpro</property>
  29. <property name="subtitle">(name of file)</property>
  30. <child>
  31. <menu id="mb-menu">
  32. <section>
  33. <item>
  34. <attribute name="label">Show Songs</attribute>
  35. <attribute name="action">settings.show-songs</attribute>
  36. </item>
  37. </section>
  38. </menu>
  39. <object class="GtkMenuButton" id="menu-button">
  40. <property name="use-popover">True</property>
  41. <property name="menu-model">mb-menu</property>
  42. </object>
  43. <packing>
  44. <property name="pack-type">GTK_PACK_END</property>
  45. </packing>
  46. </child>
  47. </object>
  48. </child>
  49. <child>
  50. <object class="GtkGrid" id="main-grid">
  51. <property name="visible">True</property>
  52. </object>
  53. </child>
  54. </object>
  55. </interface>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement