当前位置:网站首页>Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)
Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)
2022-07-04 13:44:00 【Knowledge fatness】
FilledButton What is it?
FilledButton stay FloatingActionButton After that, it has the greatest visual impact , It should be used to complete the important final operation of the process , for example Save、Join now or Confirm.
Basic code
import flet
from flet import FilledButton, Page
def main(page: Page):
page.title = "Basic filled buttons"
page.add(
FilledButton(text="Filled button"),
FilledButton("Disabled button", disabled=True),
FilledButton("Button with icon", icon="add"),
)
flet.app(target=main)
Parameters
text
The text displayed on the buttonicon
Icon displayed in button .icon_color
Icon color .tooltip
The text displayed when hovering the mouse over the button .autofocus
If the control will be selected as the initial focus , It is true . If there are multiple controls with auto focus set on the page , The first control added to the page will get focus .content
Controls that represent custom button content .
边栏推荐
- Commvault 和 Oracle 合作,在 Oracle 云上提供 Metallic数据管理即服务
- C foundation in-depth study I
- MySQL three-level distribution agent relationship storage
- Using nsproxy to forward messages
- 舔狗舔到最后一无所有(状态机)
- Scripy framework learning
- 提高MySQL深分页查询效率的三种方案
- 一个数据人对领域模型理解与深入
- AI painting minimalist tutorial
- [cloud native | kubernetes] in depth understanding of ingress (12)
猜你喜欢
Comparative study of the gods in the twilight Era
It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
CommVault cooperates with Oracle to provide metallic data management as a service on Oracle cloud
Samsung's mass production of 3nm products has attracted the attention of Taiwan media: whether it can improve the input-output rate in the short term is the key to compete with TSMC
光环效应——谁说头上有光的就算英雄
Alibaba cloud award winning experience: build a highly available system with polardb-x
unity不识别rider的其中一种解决方法
Is the outdoor LED screen waterproof?
Oracle was named the champion of Digital Innovation Award by Ventana research
随机推荐
高效!用虚拟用户搭建FTP工作环境
Simple understanding of binary search
提高MySQL深分页查询效率的三种方案
SQL statement syntax error in test SQL statement deletion in eclipse linked database
C语言程序设计
使用宝塔部署halo博客
Read the BGP agreement in 6 minutes.
How real-time cloud interaction helps the development of education industry
2022KDD预讲 | 11位一作学者带你提前解锁优秀论文
面试官:Redis中哈希数据类型的内部实现方式是什么?
XML入门一
7、 Software package management
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
JVM系列——栈与堆、方法区day1-2
数据库公共字段自动填充
ASP.NET Core入门一
舔狗舔到最后一无所有(状态机)