WebЯ внес небольшие изменения в ваш код, но основная строка для решения вашей проблемы — menu.post(menubutton.winfo_rootx(), menubutton.winfo_rooty() + menubutton.winfo_height()).Я получил его от этот /а> вопрос.По сути, он повторно открывает ваш drop-down menu в ... WebAug 6, 2013 · winfo screenvisual window. Returns one of the following strings to indicate the default visualclass for window's screen: directcolor, grayscale,pseudocolor, staticcolor, …
python - Tkinter Treeview 如何正確使用鼠標 select 多個項目 - 堆棧 …
Webdirekt vor dem Abrufen von Geometrie, um sicherzustellen, dass die zurückgegebenen Werte korrekt sind. Es gibt vier Methoden, mit denen wir die Abmessungen des Außenrahmens bestimmen können. winfo_rootx () gibt uns die obere linke x-Koordinate des Fensters, ausschließlich der Außenrahmen. Web1 day ago · from tkinter import * window = Tk () window. title ('Welcome to Effbot') window. mainloop () On running the above code, it will give you a simple GUI. By default, the size of this interface is very small. You can increase the interface size by adding an extra line of dimension geometry. See the below code: ウレタンフォーム 断熱材 板
26. Universal widget methods - GitHub Pages
WebJun 13, 2008 · winfo_containing(self, rootX, rootY, displayof=0) Return the widget which is at the root coordinates ROOTX, ROOTY. winfo_depth(self) Return the number of bits per pixel. winfo_exists(self) Return true if this widget exists. winfo_fpixels (self, number) Return the number of pixels for the given distance NUMBER (e.g. winfo_geometry(self) WebTkinter Class API Reference Contents. Tkinter Class API Reference Tk Application Root tkinter. Tk (screenName=None, baseName=None, className='Tk', useTk=True, … Webwinfo_containing (rootX, rootY, displayof=0) winfo_depth () winfo_exists () winfo_fpixels (number) winfo_geometry () winfo_height () winfo_id () winfo_interps (displayof=0) winfo_ismapped () winfo_manager () winfo_name () winfo_parent () winfo_pathname (id, displayof=0) winfo_pixels (number) winfo_pointerx () winfo_pointerxy () winfo_pointery () palette rifrangenti