S
S
ssssergey2015-01-20 16:34:01
Python
ssssergey, 2015-01-20 16:34:01

How to programmatically activate a shell written in Tkinter?

It is necessary that, upon the occurrence of some event, the program interface window pops up on top of the other windows, thereby signaling to the user about the occurrence of the event.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zelsky, 2015-01-21
@zelsky

Look in the direction notify-osd is a good thing and many distros have it. Both pleasant and not intrusive.

E
esy1993, 2015-01-21
@esy1993

If I understand correctly, the Tkinter library has methods:
grab_set() - intercepts all application events
focus_set() - grabs focus on itself
wait_window() - waiting for the window to close
How to use it is described here: www.russianlutheran.org/python/nardo /nardo.html#106

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question