Skip to content

Id of after command created by -afteridle flag #19

@georgtree

Description

@georgtree

Hello!
I have a problem - I create tablelist with this code:

$objPave paveWindow $win.fra.nbk.fOutput.lfrCustomTables.lfr$customDataFieldName {
                {tbl1 - - 1 2 {pack -side left -fill both -expand 1}\
                         {-h 3 -stripebackground $::modelTestVerTool::gui::globVars(stripebackground) -editselectedonly 1\
                              -lbxsel buT -columns {$columns}\
                              -afteridle {$globVars(fontConf) -labelfont TkDefaultFont}}}
                {sbvExpVals tbl1 L 1 1 {pack -before %w} {}}
                {sbhExpVals tbl1 T - - {pack -before %w} {}}
            }

but if I in the same procedure destroy the table (before procedure returns), it obviously throws error of non-existent table name command. So I have to cancel after idle event, but I need an id for that. Is there a way to get that id?

The only way now is to call update idle right after table creation explicitly.

Regards, George.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions