O'Reilly logo

Tkinter GUI Application Development HOTSHOT by Bhaskar Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The basic widget methods

These methods are provided under class Widget in module Tkinter. You can view the documentation for these methods in your interactive shell using the following commands:

>>> import Tkinter
>>>help(Tkinter.Widget)

A list of available methods under Widgets class is as follows:

Method

Description

after(self, ms, func=None, *args)

Calls function once after given time. MS specifies the time in milliseconds. FUNC gives the function, which shall be called. Additional parameters are given as parameters to the function call. Return: identifier to cancel scheduling with after_cancel.

after_cancel(self, id)

Cancel scheduling of function identified with ID. Identifier returned by after or after_idle must be given as first ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required