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

clipboard: add missing documentation for clipboard methods #23862

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

virus-rpi
Copy link
Contributor

This adds the missing docs to the Clipboard class in the vlib/clipboard/x11/clipboard.c.v file.

  • Added a new method check_availability to determine if the clipboard is available for use.
  • Added a new method free to release the clipboard resources.
  • Added a new method clear to clear the clipboard by setting it to an empty string.
  • Added a new method has_ownership to check if the Clipboard has content ownership.
  • Added a new method get_text to retrieve the current entry from the clipboard as a string.

Copy link

Connected to Huly®: V_0.6-22266

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

Thank you 🙇🏻‍♂️.

@spytheman spytheman merged commit 16681fb into vlang:master Mar 5, 2025
62 checks passed
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