File: hello-world.xml

package info (click to toggle)
giggle 0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,084 kB
  • sloc: ansic: 23,243; sh: 11,642; makefile: 442; xml: 81
file content (33 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<interface>
  <object class="GigglePlugin" id="plugin">
    <property name="description" translatable="yes">Demonstration of Giggle's Plugin System</property>

    <child>
      <object class="GtkActionGroup" id="GigglePlugin-HelloWorld">
        <child>
          <object class="GtkAction" id="HelloWorld">
            <property name="label"   translatable="yes">Hello World</property>
            <property name="tooltip" translatable="yes">Check if the plugin system works</property>
            <property name="stock-id">gtk-about</property>
          </object>
        </child>
      </object>
    </child>

    <ui>
      <menubar name="MainMenubar">
        <menu action="EditMenu">
          <placeholder name="EditMenuActions">
            <menuitem action="HelloWorld" />
          </placeholder>
        </menu>
      </menubar>

      <toolbar name="MainToolbar">
        <placeholder name="Actions">
          <toolitem action="HelloWorld" />
        </placeholder>
      </toolbar>
    </ui>
  </object>
</interface>