File: popUpButton2.gsmarkup

package info (click to toggle)
renaissance 0.9.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,028 kB
  • sloc: objc: 12,332; makefile: 33; perl: 25
file content (36 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download | duplicates (7)
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
34
35
36
<?xml version="1.0"?>
<!DOCTYPE gsmarkup>

<gsmarkup>
  <objects>

    <panel title="Difficulty level Panel" id="panel">
     <vbox>
      <box title="Choose Difficulty Level:">
	<popUpButton id="popUp">
	  <popUpButtonItem tag="0" title="Level 0 (Trivial)" />
	  <popUpButtonItem tag="1" title="Level 1 (Beginner)" />
	  <popUpButtonItem tag="2" title="Level 2 (Easy)" />
	  <popUpButtonItem tag="3" title="Level 3 (Medium)" />
	  <popUpButtonItem tag="4" title="Level 4 (Advanced)" />
	  <popUpButtonItem tag="5" title="Level 5 (Difficult)" />
	  <popUpButtonItem tag="6" title="Terminate the app" action="terminate:" target="#NSApp" />
	</popUpButton>
      </box>
      <box title="A pullsDown menu now:">
	<popUpButton id="popUp2" pullsDown="yes" title="Pull down">
	  <popUpButtonItem tag="0" title="First entry" />
	  <popUpButtonItem tag="1" title="Second entry" />
	  <popUpButtonItem tag="2" title="Third entry" />
	</popUpButton>
      </box>
     </vbox>
    </panel>

  </objects>

  <connectors>
    <outlet source="#NSOwner" target="#popUp" label="popUp" />
    <outlet source="#NSOwner" target="#panel" label="panel" />
  </connectors>
</gsmarkup>