another Dumb Widget question... [message #46037] |
Tue, 25 October 2005 03:20 |
Peter Clinch
Messages: 98 Registered: April 1996
|
Member |
|
|
My first widget program is coming along quite well, but I've just spent
a frustrating couple of hours failing to work out how to get some user
input into it through a custom dialog box :-(
I've created the dialog okay with a couple of label widgets, a couple of
editable text widgets and a couple of buttons onto a new base widget and
then relaizing the new base alongside the main application's base
widget, but what I can't work out is how to set up a callback for the
buttons, since xmanager is working with the original base. I tried
adding a GROUP_LEADER of the main app's base widget to the dialog but
that didn't seem to work.
Will someone nudge me in the right direction please?
Ta, Pete.
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
|
|
|