close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 14 years ago

#942 closed task (duplicate)

Check if we are running within Tk

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: Mantainance
Component: Kernel Version:
Severity: critical Keywords:
Cc:

Description

In order to separate dependencies between Tcl/Tk and TOL it is required a function for checking if we are running inside Tk.

Change History (2)

comment:1 Changed 15 years ago by Jorge

(In [2393]) refs #942

  • prepare GuiTools in order to evaluate StartActions within development cycle.
  • implement GuiTools::InsideTk
  • only evaluate Tcl code if we are inside Tk

comment:2 Changed 14 years ago by Pedro Gea

Resolution: duplicate
Status: newclosed

There is a new global system constant TolTclIsEnabled which indicates if TCL API is available in TOL.
See #1189 and [3494].

Note: See TracTickets for help on using tickets.