home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume6
/
wsxc2
/
part03
/
MotifTestMenu
< prev
next >
Wrap
Text File
|
1990-04-26
|
712b
|
26 lines
!
! MotifTestMenu - deffered resource file
!
! men1 - popup menu, controlling the box.box1.lbl2 widget appearance
!
*men1.createClass: XmCreatePulldownMenu
*men1.createUnmanaged: true
!
*men1.createChildren: btn2, btn3
*men1.createCallback: WsSetWidgetResourceCB(subMenuId,box.bar1.pul1)
! all the children of this box have the same attributes ...
*men1*createClass: xmPushButtonWidgetClass
*men1*background: lightBlue
*men1*foreground: blue
!
! btn2
!
*men1.btn2.labelString: Remove Footnote
*men1.btn2.activateCallback: WsUnmanageNamedChildrenCB(box.box1.lbl2)
!
! btn3
!
*men1.btn3.labelString: Add Footnote
*men1.btn3.activateCallback: WsManageNamedChildrenCB(box.box1.lbl2)
!