home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
r
/
ril.zip
/
demos
/
override2.ril
< prev
next >
Wrap
Text File
|
1992-09-08
|
676b
|
49 lines
#
# Here, the same effect is achieved by setting loose class defaults for
# everything.
#
Widget override2 {
wcChildren: main
}
Resources * {
background: lightsteelblue
foreground: midnightblue
}
Widget *main {
wcClassName: XmpTable
wcChildren: l1 l2 l3 l4
layout:\
l1 0 0 1 1 ;\
l2 0 1 1 1 ;\
l3 0 2 1 1 ;\
l4 0 3 1 1 ;
}
Widget *l1 {
wcClassName: XmPushButton
labelString: Button 1
}
Widget *l2 {
wcClassName: XmPushButton
labelString: Button 2
}
Widget *l3 {
wcClassName: XmPushButton
labelString: Button 3
background:white
foreground:red
}
Widget *l4 {
wcClassName: XmPushButton
labelString: Button 4
background:white
foreground:red
}