All Projects → arcticfox1919 → tkinter-tabview

arcticfox1919 / tkinter-tabview

Licence: MIT license
tkinter-tabview

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tkinter-tabview

PySimpleGUI
Launched in 2018. It's 2022 and PySimpleGUI is actively developed & supported. Create complex windows simply. Supports tkinter, Qt, WxPython, Remi (in browser). Create GUI applications trivially with a full set of widgets. Multi-Window applications are also simple. 3.4 to 3.11 supported. 325+ Demo programs & Cookbook for rapid start. Extensive d…
Stars: ✭ 10,846 (+26353.66%)
Mutual labels:  tkinter, tkinter-gui
togepi
A version control system built using Python and DropBox API
Stars: ✭ 23 (-43.9%)
Mutual labels:  tkinter, tkinter-gui
tkmacosx
Tkmacosx is a Python library extension to the Tkinter module. Change background and foreground colors of a Button, Use ColorVar to change colors of multiple widgets just like StringVar, and much more.
Stars: ✭ 48 (+17.07%)
Mutual labels:  tkinter, tkinter-gui
TKinterDesigner
TKinterDesigner is a tool software to develop the Python User Interface for Python programmer.
Stars: ✭ 663 (+1517.07%)
Mutual labels:  tkinter, tkinter-gui
CustomTkinter
A modern and customizable python UI-library based on Tkinter
Stars: ✭ 1,626 (+3865.85%)
Mutual labels:  tkinter, tkinter-gui
EncrypC
🔑 File Encryption Application using Python.
Stars: ✭ 14 (-65.85%)
Mutual labels:  tkinter, tkinter-gui
Tkinter-Designer
An easy and fast way to create a Python GUI 🐍
Stars: ✭ 4,697 (+11356.1%)
Mutual labels:  tkinter, tkinter-gui
Form-Labeller
Use this tool to label forms, bounding boxes, and assigning types to annotations
Stars: ✭ 17 (-58.54%)
Mutual labels:  tkinter, tkinter-gui
ttkbootstrap
A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
Stars: ✭ 512 (+1148.78%)
Mutual labels:  tkinter, tkinter-gui
python-gui-demos
This repo contains the basic demonstration of python gui
Stars: ✭ 31 (-24.39%)
Mutual labels:  tkinter, tkinter-gui
Python-Media-Player
Simple Music Player Written in Python And Tkinter
Stars: ✭ 40 (-2.44%)
Mutual labels:  tkinter, tkinter-gui
Comiccrawler
An image crawler written in Python.
Stars: ✭ 185 (+351.22%)
Mutual labels:  tkinter
Pygubu
A simple GUI designer for the python tkinter module
Stars: ✭ 1,326 (+3134.15%)
Mutual labels:  tkinter
Nordpy
A gui application to connect automatically to the recommended NordVPN server
Stars: ✭ 95 (+131.71%)
Mutual labels:  tkinter
Tksheet
Python 3.6+ tkinter table widget for displaying tabular data
Stars: ✭ 86 (+109.76%)
Mutual labels:  tkinter
Goreviewpartner
A tool to help analyse and review your game of go (weiqi, baduk) using strong bots.
Stars: ✭ 245 (+497.56%)
Mutual labels:  tkinter
Ttkthemes
A group of themes for the ttk extenstions for Tkinter
Stars: ✭ 155 (+278.05%)
Mutual labels:  tkinter
Pyglossary
A tool for converting dictionary files aka glossaries. The primary purpose is to be able to use our offline glossaries in any Open Source dictionary we like on any OS/device.
Stars: ✭ 1,257 (+2965.85%)
Mutual labels:  tkinter
Python Tkinter Minesweeper
Minesweeper game written in Python using Tkinter GUI library.
Stars: ✭ 79 (+92.68%)
Mutual labels:  tkinter
Pyrustic
Lightweight framework and software suite to help develop, package, and publish Python desktop applications
Stars: ✭ 75 (+82.93%)
Mutual labels:  tkinter

tkinter-tabview

ttk中虽然添加了Notebook,但其功能过于简单,无法支持双击创建选项卡,删除选项卡等功能,于是自定义了tabview,有需要的朋友,可以参考在tkinter中自定义view的方法,自定义自己的view

使用方法

import tkinter as tk
from tkinter import messagebox
from tabview import TabView


def create_body():
    global body
    return tk.Label(body, text="this is body")


def select(index):
    print("current selected -->", index)


def remove(index):
    print("remove tab -->", index)
    if messagebox.askokcancel("标题", "确定要关闭该选项卡吗?"):
        return True
    else:
        return False


root = tk.Tk()
root.geometry("640x300")

tab_view = TabView(root, generate_body=create_body,
                   select_listen=select, remove_listen=remove)

body = tab_view.body

label_1 = tk.Label(tab_view.body, text="this is tab1")
label_2 = tk.Label(tab_view.body, text="this is tab2")

# 第一个参数是向body中添加的widget, 第二个参数是tab标题
tab_view.add_tab(label_1, "tabs1")
tab_view.add_tab(label_2, "tabs2")

# TabView需要向x、y方向填充,且expand应设置为yes
tab_view.pack(fill="both", expand='yes', pady=2)

root.mainloop()

tkinter-DragWindow

实现桌面可拖拽小挂件

预览

使用方法

# 导入DragWindow类
root = DragWindow()
root.set_window_size(200, 200)
root.set_display_postion(500, 400)
tk.Button(root, text="Exit", command=root.quit).pack(side=tk.BOTTOM)

root.mainloop()

了解更多,查看本人博客 传送门

tkinter-SearchBox

实现搜索框控件

2021-03-29-001

视频讲解地址

import tkinter as tk

from search_box import SearchBox

g_list = ["Aaron", "Abbott", "dart", "Abel", "Abner", "Abraham", "Absalom", "Ace", "Adair"]


# 输入回调
def callback(text):
    print(text)
    if not text:
        search.update(None)
        return

    tmp = []
    for it in g_list:
        if it.startswith(text):
            tmp.append(it)
            
    # 更新弹出框内容
    search.update(tmp)


root = tk.Tk()

tk.Label(text="搜索框").pack()

search = SearchBox(root, callback=callback)
search.pack(side=tk.LEFT, padx=5, pady=5)

root.mainloop()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].