Skip to content

Make GtWorldTabElement closeable through middle mouse button click#10

Open
joao-pedro-braz wants to merge 1 commit intofeenkcom:mainfrom
joao-pedro-braz:close-tab-through-middle-mouse-button
Open

Make GtWorldTabElement closeable through middle mouse button click#10
joao-pedro-braz wants to merge 1 commit intofeenkcom:mainfrom
joao-pedro-braz:close-tab-through-middle-mouse-button

Conversation

@joao-pedro-braz
Copy link

This makes the world tab close when clicked with the middle mouse button.
Middle mouse button click closing tabs is the default in basically every graphical code editor as well as browsers.

@girba
Copy link
Member

girba commented Nov 14, 2025

Nice. Can you please try writing a Scripter example with the desired behavior?

@joao-pedro-braz joao-pedro-braz force-pushed the close-tab-through-middle-mouse-button branch from e2880ae to e69d8d6 Compare November 14, 2025 23:30
@joao-pedro-braz joao-pedro-braz force-pushed the close-tab-through-middle-mouse-button branch from 252f6a5 to 68b8859 Compare November 14, 2025 23:42
@joao-pedro-braz
Copy link
Author

@girba Added the showSpaceSelectScripter_05_middleMouseButtonClickClosesTab Scripter example that simulates a middle mouse button click on a tab.

@girba
Copy link
Member

girba commented Nov 15, 2025

Brilliant!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants