-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the Drag class's private method _moveDragImage to a public method moveDragImage. #96
Conversation
If the goal is only to be able to override the method when subclassed, I would say |
@lmcnichols Does Vidar's suggestion of making this method |
Yes it still does. I added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
Released |
Hi @blink1073! I'm running into an issue related to this PR. When I |
I believe it is because JupyterLab itself is using the older version and enforcing it using |
Okay that makes sense. Thanks for the help! |
Hi, my name is Logan McNichols. I am an intern for Jupyter Cal Poly. I am working on a tabular data editor powered by the datagrid along with @kgoo124 and @ryuntalan.
We would like to use lumino's
Drag
class to create a column/row shadow which appears on a mouse click of a column/row header and is drag-able. The movement of this shadow can't just follow the cursor wherever it goes, but must be constrained to the bounds of theDataGrid
. This PR would allow us to do this, by letting us extendDrag
and make modifications tomoveDragImage
.This PR would rename
_moveDragImage
tomoveDragImage
and update it's implementations to reflect this change. It would remove the private access modifier and relocatemoveDragImage
to the area where the other public methods are.fixes #95