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

Implement TextArea.ContextMenu #358

Open
keepwn opened this issue Jul 6, 2015 · 2 comments
Open

Implement TextArea.ContextMenu #358

keepwn opened this issue Jul 6, 2015 · 2 comments
Milestone

Comments

@keepwn
Copy link
Contributor

keepwn commented Jul 6, 2015

I want to realize feature like Ctrl+F to open Find Form to find content in TextArea.
Although i can realize it by using DynamicLayout.ContextMenu when TextArea over one DynamicLayout.

I think TextArea.ContextMenu should be implemented.
It will feel more natural if use TextArea.ContextMenu.
Thanks.

@keepwn
Copy link
Contributor Author

keepwn commented Jul 7, 2015

Sadly, it not work in GTK if using DynamicLayout.ContextMenu.

@cwensley
Copy link
Member

Have you tried using MouseDown and ContextMenu.Show() to show a context menu? Theoretically you should be able to use it to add a context menu to any control, even overriding existing context menus.

@cwensley cwensley modified the milestone: 2.x Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants