File: button-types.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 (47 lines) | stat: -rw-r--r-- 1,272 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
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<!DOCTYPE gsmarkup>
<gsmarkup>

<objects>

  <window title="Button Types" closable="no">

      <vbox>
	<box title="Text buttons">
	<hbox type="proportional">
	  <box title="Momentary buttons">
	    <vbox>
	      <button title="momentaryPushIn" type="momentaryPushIn" halign="wexpand" />
	      <button title="momentaryChange" alternateTitle="Pushed!" type="momentaryChange" halign="wexpand" />
	    </vbox>
	  </box>
	  <box title="Toggle buttons">
	    <vbox>
	      <button title="pushOnPushOff" type="pushOnPushOff" halign="wexpand" />
	      <button title="toggle" alternateTitle="Pushed!" type="toggle" halign="wexpand" />
	    </vbox>
	  </box>
	  <box title="Stock buttons" valign="wexpand">
	    <vbox>
	      <button title="switch button" type="switch" halign="wexpand" />
	      <vspace />
	    </vbox>
	  </box>
	</hbox>
	</box>

	<box title="Image buttons">
	<hbox type="proportional">
	      <button image="NSApplicationIcon" imagePosition="above" title="momentaryPushIn" type="momentaryPushIn" />
	      <button image="NSApplicationIcon" imagePosition="above" title="pushOnPushOff" type="pushOnPushOff" />
	</hbox>
	</box>

	<button title="Click here to quit" action="terminate:" />
      </vbox>

  </window>

</objects>

</gsmarkup>