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

Auto properties #165

Merged
merged 4 commits into from
Dec 15, 2024
Merged

Auto properties #165

merged 4 commits into from
Dec 15, 2024

Conversation

jwharm
Copy link
Owner

@jwharm jwharm commented Dec 15, 2024

With this PR, Java-GI will automatically create GObject properties for pairs of get and set methods (also known as JavaBean properties). It is still possible to override this behavior with the existing @Property annotation.

The change should be backwards compatible. If not, annotate problematic methods with @Property(skip=true).

@jwharm jwharm merged commit ab146be into main Dec 15, 2024
@jwharm jwharm deleted the auto-properties branch December 15, 2024 22:01
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.

1 participant