TK组件的非线性滑动
Project description
TK非线性滑动
1 调用方法
你可以调用以下命令使用
#引入包
import tkns
#调用
move(currently_x,currently_y,to_x,to_y,n,win,debug = False,sleep = 0.01,wait_on_startup = True)
2 参数介绍
move(
currently_x, #组件X坐标
currently_y, #组件y坐标
to_x, #要前往的X坐标
to_y, #要前往的Y坐标
n, #要前往的组将
win, #窗口需要刷新刷新
debug=False, #调试模式,显示移动坐标数据
sleep=0.01, #等待时间,与动画速度有关
wait_on_startup=True, #启动时等待0.5秒,以免在程序开启时出现错误
)
#暂无返回值
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file tkinter_n_s-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: tkinter_n_s-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1dba078a4a4d6c87e011e78d722682a60bf2212047b86c1085a25c84c9e714 |
|
MD5 | d96708897d6244bac766d45b2c318ffd |
|
BLAKE2b-256 | 6d6eaa3329bd266f009f9e23463c80e2891503eaad276ab81bca69d87bc2e4af |