tk_new(
+Options,
-Interp)
Options should be a list of options described following:
top_level_events
Please note: This option is not currently supported under Windows.
name(
+ApplicationName)
send
command.
display(
+Display)
DISPLAY
environment variable.
tk_do_one_event
tk_do_one_event(
+ListOrBitMask)
The ListOrBitMask list can contain the following atoms:
tk_dont_wait
tk_x_events
tk_window_events
tk_file_events
tk_timer_events
tk_idle_events
Tk_DoWhenIdle
events
tk_all_events
Calling tk_do_one_event/0
is equivalent to a call to
tk_do_one_event/1
with all flags set. If the tk_dont_wait
flag is set and there is no event to handle, the call will fail.
tk_next_event(
+TclInterpreter,
-Event)
tk_next_event(
+ListOrBitMask,
+TclInterpreter,
-Event)
tk_do_one_event/[0,1]
except that they processes Tk events until is at least one Prolog event
happens, when they succeed binding Event to the first
term on the Prolog event queue associated with the interpreter
TclInterpreter.
tk_main_loop
tk_main_window(
+TclInterpreter,
-TkWindow)
tk_destroy_window(
+TkWindow)
tk_make_window_exist(
+TkWindow)
tk_num_main_windows(
-NumberOfWindows)