FAQ Database Discussion Community


How can I make area outside toplevel unclickable?

python,python-3.x,tkinter,toplevel
I want to create a toplevel window in tkinter, and I want the outside area unclickable. So this way, the user cannot click out from the toplevel window, just after it's been destroyed. (And also preventing to be able to create the same window from the root Tk())

ocaml command line cannot not find “topfind”

ocaml,opam,toplevel
I have top-level installed, and have $OCAML_TOPLEVEL_PATH setup. export OCAML_TOPLEVEL_PATH=/Users/smcho/.opam/system/lib/toplevel I checked that the directory exists, and has one file topfind. This is my ~/.ocamlinit file content. #use "topfind" #camlp4o #thread #require "core.top" #require "core.syntax" The issue is that I have the error message saying it can't find topfind. >...

Python Tkinter - Toplevel MoveInAnimation

python,animation,tkinter,move,toplevel
Is there an option to simply move a Tkinter TopLevel() window on runtime by using an animation? I thought about a smooth moveInAnimation triggered by a button. Here is some code snippet: from Tkinter import Toplevel class MoveInTopLevel(Toplevel): ''' Animated MoveInToplevel. ''' def __init__(self, *args, **kwargs): Toplevel.__init__(self, *args, **kwargs)...