home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume6
/
wsxc2
/
part03
/
HelloWorldClass
< prev
next >
Wrap
Text File
|
1990-04-26
|
694b
|
33 lines
!
! HelloWorld - global resources
!
*fontList: -*-Helvetica-Medium-R-Normal--14*
!
! shell
!
HelloWorldClass.createChildren: box
!
! box - the main container
!
*box.createClass: XmCreateRowColumn
*box.createChildren: label,button
*box.spacing: 2
*box.background: red
*box.entryAlignment: alignment_center
!
! label
!
*box.label.createClass: XmCreateLabel
*box.label.background: white
*box.label.foreground: blue
*box.label.labelString: Hello, WORLD !
!
! button
!
*box.button.createClass: XmCreatePushbutton
*box.button.background: lightBlue
*box.button.foreground: red
*box.button.labelString: Push ME
*box.button.activateCallback: push(Push to EXIT)
!