Comments (12)
Hello,
Thanks for your report,
I suspect the relevant sections of code are the functions:
def mouse_motion(self, event):
...
Which are contained in the files:
- _tksheet_main_table.py
- _tksheet_row_index.py
- _tksheet_column_headers.py
Why they are causing lag under one environment but not another I am not sure
You could try commenting out the code in the functions or commenting out the line that binds those functions:
("<Motion>", self, self.mouse_motion),
which is contained within _tksheet_main_table.py
To see what happens...
But I think what I will do longer term is make it so that mouse motion is no longer bound and instead tksheet relies on <Enter>
and <Leave>
events. I am not 100% sure I will be able to do this however, I will update you here when I find out
from tksheet.
from tksheet.
Hey,
I've made a change in 6.3.5
. In previous versions tksheet
would configure the cursor with every mouse motion, in 6.3.5
it checks the current cursor and only configures it if it needs to. However, I was unable to replace the mouse motion function
I also removed code which caused cursor change for header height and index width resizing from inside the main table, it is now slightly harder to align the cursor with their resizing lines
I am wondering if the constant calls to config the cursor were the reason it was ok under one OS and python version and not another
from tksheet.
from tksheet.
from tksheet.
from tksheet.
from tksheet.
Hey,
Sorry, have you push the 6.3.5 version into the piwheels.org yet? Or you can send me the link to the latest changes ver 6.3.5. Thanks!
It seems as though piwheels is automated, I cannot push new releases to it
not sure the intent or functionality of the mouse_motion() call and resizing is for
Basically it just checks the position of the cursor and if it is above a grid line that can be moved then it changes the cursor into an arrow. If it is above a selected row or column then it changes into a hand. The reason I failed to replace this code with "<Enter>"
and "<Leave>"
events is that they weren't reliable, the cursor wasn't reliably changing back into a normal pointer after entering and leaving a grid line
edit: I realized some of my previous choice of words about resizing grid lines may have been misleading sorry
I’m getting the following error messages when I do “pip install tksheet –upgrade.”
Unfortunately I have no idea what this error means sorry. I don't think it's to do with tksheets setup code though as the only thing that was changed in setup.py
was the version number
from tksheet.
from tksheet.
from tksheet.
from tksheet.
Thanks for letting me know!
Versions 7+ now have the new pyproject.toml
file
Cheers
from tksheet.
Related Issues (20)
- How to change appereance of the Thsheet when bindings are disabled HOT 2
- In drop down, how do i display default text? HOT 1
- Is it possible to center the text in vertical alignment? HOT 1
- Include freezing option HOT 1
- Calculos con tksheet
- trouble with shifting the data over the tksheet HOT 1
- Higher resolution support HOT 9
- Add prompt for wrong keyward args in get_sheet_data/get_cell_data/get_row_data/get_column_data HOT 1
- Issue with set_sheet_data HOT 6
- Manually set displayed row index HOT 3
- Dropdown menu fails to open if some rows are hidden HOT 2
- Update cells data using specific conditions on user input. HOT 27
- SyntaxWarning HOT 3
- Currently selected cell rows in sheet vs in data HOT 2
- How to fix the maximum size of characters in tksheet ceels HOT 6
- The tabel font does not change. HOT 1
- How to Check if a Check Box is checked in tksheet 7 HOT 1
- How to accept user input even if "enter" is not pressed HOT 4
- Looking to customize scrollbar and scrollbar frame bg HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tksheet.