Skip to content
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

TabView.enable_tab_dragging() is broken #156

Open
Moosems opened this issue Apr 26, 2024 · 0 comments
Open

TabView.enable_tab_dragging() is broken #156

Moosems opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Moosems
Copy link
Collaborator

Moosems commented Apr 26, 2024

Describe the bug

Traceback (most recent call last):
  File "/Users/Moosems/Desktop/DIP-dev-Tukaan/test.py", line 9, in <module>
    tabview.enable_tab_dragging()
  File "/Users/Moosems/Desktop/DIP-dev-Tukaan/venv/lib/python3.12/site-packages/tukaan/widgets/tabview.py", line 205, in enable_tab_dragging
    self.events.bind("<Button1-Motion>", self._on_tab_drag, send_event=True)
    ^^^^^^^^^^^
AttributeError: 'TabView' object has no attribute 'events'

Expected behavior

No crash

Operating system

macOS 13 (Ventura)

Extra details about your system

No response

@Moosems Moosems added the bug Something isn't working label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant