File: GSVBox.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 (25 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (5)
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
<?xml version="1.0"?>
<!DOCTYPE gsmarkup>

<gsmarkup>
  <objects>
    <window title="GSVBox Demo" x="100" y="300">
      <vbox>
	<vbox type="proportional" halign="center">
	  <button title="Add view" action="addViewToVBox:" target="#NSOwner" halign="wexpand" />
	  <button title="Remove view" action="removeViewFromVBox:" target="#NSOwner" halign="wexpand" />
	</vbox>
	<scrollView width="100" height="200">
	  <vbox id="vbox">
	    <colorWell width="50" height="50" />
	  </vbox>
	</scrollView>
      </vbox>
    </window>
  </objects>

  <connectors>
    <!-- executes [#NSOwner -setVbox: #vbox]; -->
    <outlet source="#NSOwner" target="#vbox" key="vbox" />
  </connectors>
</gsmarkup>