- Tkinter GUI Application Development Blueprints(Second Edition)
- Bhaskar Chaudhary
- 109字
- 2021-06-24 18:35:09
Indexing and tagging
Though we managed to leverage some built-in functionalities to gain a quick advantage, we need more control over the text area so that we can bend it to our will. This will require the ability to target each character or text location with precision.
We will need to know the exact position of each character, the cursor, or the selected area in order to do anything with the contents of the editor.
The Text widget offers us the ability to manipulate its content using index, tags, and mark, which let us target a position or place within the text area for manipulation.
推薦閱讀
- Progressive Web Apps with React
- Java 開發從入門到精通(第2版)
- Dynamics 365 Application Development
- Raspberry Pi Networking Cookbook(Second Edition)
- 深入淺出Java虛擬機:JVM原理與實戰
- MariaDB High Performance
- Visual C++應用開發
- 深入RabbitMQ
- Express Web Application Development
- Windows Phone 7.5:Building Location-aware Applications
- 從Java到Web程序設計教程
- 運維前線:一線運維專家的運維方法、技巧與實踐
- Java Web從入門到精通(第2版)
- SQL Server 2008中文版項目教程(第3版)
- Training Systems Using Python Statistical Modeling