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 message spoilers #152

Open
diamondburned opened this issue Sep 4, 2023 · 0 comments
Open

Implement message spoilers #152

diamondburned opened this issue Sep 4, 2023 · 0 comments

Comments

@diamondburned
Copy link
Owner

Spoilers aren't implemented in gtkcord4 yet, even though they were implemented in gtkcord3.

There are 2 main approaches:

  1. Attach an EventController to check for mouse hovering events, if the mouse is hovering over the spoiled text span then reveal it, or
  2. Add a button that reveals the text when pressed.

1 is a lot harder since I've yet to figure out the right API to use for this. 2 is a lot easier, but it's a lot less convenient too.

@tfuxu tfuxu mentioned this issue Oct 11, 2023
2 tasks
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 a pull request may close this issue.

1 participant