~jozilla/uiml.net/uiml.net-tp

« back to all changes in this revision

Viewing changes to examples/copy.uiml

  • Committer: kluyten
  • Date: 2004-06-20 23:10:09 UTC
  • Revision ID: vcs-imports@canonical.com-20040620231009-b9b2875161f3b250
*** empty log message ***

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<uiml>
 
3
        <interface>
 
4
                <structure>
 
5
                        <part class="Frame" id="Frame">
 
6
                                <part class="HBox">
 
7
                                        <part class="Entry" id="leftentry"/>
 
8
                                        <part class="VBox">
 
9
                                                <part class="Button" id="copyleft"/>
 
10
                                                <part class="Button" id="copyright"/>
 
11
                                        </part>
 
12
                                        <part class="Entry" id="rightentry"/>
 
13
                                </part>
 
14
                        </part>
 
15
                </structure>
 
16
                <style>
 
17
                        <property part-name="Frame" name="label">Copy</property>
 
18
                        <property part-name="copyleft" name="label">copy left</property>
 
19
                        <property part-name="copyright" name="label">copy right</property>
 
20
                        <property part-name="leftentry" name="text">          </property>
 
21
                        <property part-name="rightentry" name="text">          </property>
 
22
                </style>
 
23
                <behavior>
 
24
                        <rule>
 
25
                                <condition>
 
26
                                        <event class="ButtonPressed" part-name="copyleft"/>
 
27
                                </condition>                            
 
28
                                <action>
 
29
                                        <property part-name="rightentry" name="text">
 
30
                                                <property part-name="leftentry" name="text"/>
 
31
                                        </property>
 
32
                                </action>
 
33
                        </rule>
 
34
                        <rule>
 
35
                                <condition>
 
36
                                        <event class="ButtonPressed" part-name="copyright"/>
 
37
                                </condition>                            
 
38
                                <action>
 
39
                                        <property part-name="leftentry" name="text">
 
40
                                                <property part-name="rightentry" name="text"/>
 
41
                                        </property>
 
42
                                </action>
 
43
                        </rule>
 
44
                </behavior>
 
45
        </interface>
 
46
        <peers>
 
47
                <!--            <presentation base="http://lumumba.luc.ac.be/~kris/projects/uiml.net/gtk-sharp-1.0.uiml" /> -->
 
48
                 <presentation base="file://home/kris/projects/uiml.net/Uiml/gtk-sharp-1.0.uiml"/>
 
49
        </peers>
 
50
</uiml>
 
51