forked from israel-dryer/ttkbootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flatten dialog module structure, move helper functions into static cl…
…asses
- Loading branch information
=
committed
Dec 5, 2021
1 parent
732dc9a
commit 8b7eb46
Showing
17 changed files
with
340 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import tkinter as tk | ||
from ttkbootstrap.dialogs import DatePickerPopup | ||
from ttkbootstrap.dialogs import DatePickerDialog | ||
|
||
root = tk.Tk() | ||
|
||
dp = DatePickerPopup() | ||
dp = DatePickerDialog() | ||
|
||
root.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import tkinter as tk | ||
import ttkbootstrap as ttk | ||
from ttkbootstrap import dialogs | ||
from ttkbootstrap.dialogs import message | ||
|
||
root = tk.Tk() | ||
dialogs.ask_question("Do you want to continue?") | ||
dialogs.ask_retrycancel("Should I retry?") | ||
dialogs.ask_okcancel("A message here") | ||
message.ok("Do you want to continue?") | ||
message.retrycancel("Should I retry?") | ||
message.okcancel("A message here") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# DatePickerDialog | ||
|
||
::: ttkbootstrap.dialogs.DatePickerDialog | ||
selection: | ||
filters: ["!^_", "^__init__"] | ||
rendering: | ||
heading_level: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Messagebox | ||
|
||
::: ttkbootstrap.dialogs.Messagebox | ||
selection: | ||
filters: ["!^_", "^__init__"] | ||
rendering: | ||
heading_level: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# MessageDialog | ||
|
||
::: ttkbootstrap.dialogs.MessageDialog | ||
selection: | ||
filters: ["!^_", "^__init__"] | ||
rendering: | ||
heading_level: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Querybox | ||
|
||
::: ttkbootstrap.dialogs.Querybox | ||
selection: | ||
filters: ["!^_", "^__init__"] | ||
rendering: | ||
heading_level: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
|
||
setuptools.setup( | ||
name="ttkbootstrap", | ||
version="1.0.1", | ||
version="1.0.2", | ||
author="Israel Dryer", | ||
author_email="[email protected]", | ||
description="A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.", | ||
|
Oops, something went wrong.