Skip to content

ScrolledFrame

Construct a scrolledframe widget with the parent MASTER.

Parameters

NameTypeDescription
containertkinter.Tk
bg_colorstr

Methods

configure

ScrolledText

pack_configure

Pack a widget in the parent widget.

grid_configure

osition a widget in the parent widget in a grid.

place_configure

Place a widget in the parent widget.

destroy

Destroy this and all descendants widgets.

bind_all

Bind to all widgets at an event SEQUENCE a call to function FUNC.

Parameters

NameTypeDescription
sequencestr
funcCallable
addbool

unbind_all

Unbind for all widgets for event SEQUENCE all functions.

Parameters

NameTypeDescription
sequencestr

bind

Bind to this widget at event SEQUENCE a call to function FUNC.

Parameters

NameTypeDescription
sequencestr
funcCallable
addbool

unbind

Unbind for this widget for event SEQUENCE the function identified with FUNCID.

Parameters

NameTypeDescription
sequencestr
funcidstr

Example

py
import tkinter
import tkinterplus

root = tkinter.Tk()
widget = tkinterplus.ScrolledFrame(root)
for i in range(100):
    tkinter.Label(widget, text=f'Label {i}').pack()
widget.pack()
root.mainloop()

example-ScrolledFrame

Not associated with or approved by Mojang Studios or Microsoft