Hi Hugo, The only places in basis/ui that use the hook slot of a table use it to call hide-glass, so there the order doesn't matter either.
I would oppose adding a configuration parameter for this. It's not worth making into a toggle. Instead, try changing it to be more useful for your app, and see if the UI's usages of table hooks still work (debugger popup in the listener is the main one). Slava On Thu, Jan 21, 2010 at 11:38 PM, Hugo Schmitt <[email protected]> wrote: > Indeed, the order of 'hook' and 'action' on the word 'row-action' > (ui.gadgets.tables) is the opposite of what I need in this case. > Swapping both quotations makes my program work: the hook quotation > dumps the table gadget, and the action table pop ups another gadget. > > Could I insert an extra boolean slot 'hook-first' to customize this > behavior? Or any other suggested fix so I can have the behavior I > need? Perhaps I should make that method generic and then subclass > 'table' for my specific behavior? > > Cheers, > Hugo > > On Thu, Jan 21, 2010 at 7:58 AM, Hugo Schmitt <[email protected]> wrote: >> HI folks, >> >> For the table gadget we have the following documentation: >> >> "When the user double-clicks on a row, or presses RET while a row is >> selected, optional action and hook quotations are invoked." >> >> What is the order that those two quotations are called? On my program, >> I need the hook to be called before the action, because both of those >> change the UI, and what hook does must happen first. Any ideas? >> >> Thanks in advance, >> >> Hugo >> > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
