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

Assign user data to widgets #120

Open
ematt opened this issue Sep 9, 2024 · 0 comments
Open

Assign user data to widgets #120

ematt opened this issue Sep 9, 2024 · 0 comments
Labels
hardware New hardware or architecture support request

Comments

@ematt
Copy link

ematt commented Sep 9, 2024

How can I retrieve user data through a widget? I would like to store a pointer inside GX_WIDGET to be retrieved later in the event handler.

Reading the documentation, gx_widget_user_data is meant to store user data. The problem is that converting from a pointer to an integer is not portable.

How can user data be assigned to a widget?

@ematt ematt added the hardware New hardware or architecture support request label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware New hardware or architecture support request
Projects
None yet
Development

No branches or pull requests

1 participant