| 1 |
<Window title="Slider Example"> |
| 2 |
<Container size="300,300"> |
| 3 |
<Icon name="icon" image="data/icons/pychan_logo.png"/> |
| 4 |
</Container> |
| 5 |
<Label text="Move the sliders around to position the icon."/> |
| 6 |
<HBox><Label hexpand="0" text="X:"/><Label name="xvalue"/></HBox> |
| 7 |
<Slider name="xslider" scale_start="0" scale_end="300"/> |
| 8 |
<HBox><Label hexpand="0" text="Y:"/><Label name="yvalue"/></HBox> |
| 9 |
<Slider name="yslider" scale_start="0" scale_end="300"/> |
| 10 |
<HBox><Label hexpand="0" text="Percentage Bar:"/><Label name="pvalue"/></HBox> |
| 11 |
<Slider name="pbarslider" scale_start="0" scale_end="100"/> |
| 12 |
<PercentageBar name="pbar" orientation="0" max_size="300,10" min_size="300,10" foreground_color="128,0,0"/> |
| 13 |
<Button name="closeButton" text="Close"/> |
| 14 |
</Window> |