Ask a Question related to PERL Modules, Design and Development.
-
HaroldWho #1
Curses::Widgets::Menu Question
Anyone with experience using this module--the following code fragment is
supposed to run a sub after menu item selection is finished.
What *actually* happens is that *every one* of the subs is run (in order)
after menu item selection is finished.
I must be missing something simple, but I've run out of ideas.
MENUS => {
MENUORDER => [qw(Encrypt Decrypt Verify Sign Clearsign ListKeys)],
Encrypt => {
ITEMORDER => [('SingleFile','GlobbedFiles')],
'SingleFile' => \&return_selection1("single"),
'GlobbedFiles' => \&return_selection1("glob"),
},
Decrypt => {
ITEMORDER => [('SingleFile','GlobbedFiles')],
'SingleFile' => \&return_selection2("single"),
'GlobbedFiles' => \&return_selection2("glob"),
},
...
Any suggestions appreciated.
HW
--
Powered by SuSE Linux 9.0 -- Kernel 2.6.11
News Reader slrn 0.9.8.1
HaroldWho Guest
-
Widgets
I don't understand your question. What problems are you haveing 'with the window that is poped up'? "Rose Roland" <kicker@txucom.net> wrote in... -
Disappearing Widgets
It's hard to know exactly what it looks like, but a client in Hawaii says a site we are testing has a disappearing menu. I have a Spry Horizontal... -
spry widgets
cannot seem to get the validation select to work need to have code as dwcs3 does not do this automatically according to the help notes -
Help with FXRuby widgets layout
Hello World, I am trying to write a GUI ruby program using FXRuby. I am having some difficulties laying out the buttons, text fields and other... -
ANN: MX Widgets released (cascaded menu, editable dropdown, calendar) - powerful databinded controls
Do you remember Access controls and the way you could write a text with a mask, or where you can type within a dropdown listing records from another...



Reply With Quote

