-
Notifications
You must be signed in to change notification settings - Fork 4
CTkBanner
Rudy edited this page Feb 21, 2024
·
1 revision
# CTkBanner
banner = CTkBanner(master=app, state="info", title="title", btn1="Action 1", btn2="Action 2", side="right_bottom")
answer = banner.get() # get answer: This will return the user's response to the banner.
Parameter | Description |
---|---|
master |
Set parent window, the widget will spawn at right bottom of the parent window |
state |
The icon of alert (info: default, warning and error) |
title |
Title of alert |
btn1 |
The text on the first button (Ok: default) |
btn2 |
The text on the second button (Cancel: default) |
side |
The position where the widget should be displayed (right_bottom: default) |