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

Add composite template callbacks examples #1168

Closed
bilelmoussaoui opened this issue Oct 31, 2022 · 2 comments · Fixed by #1514
Closed

Add composite template callbacks examples #1168

bilelmoussaoui opened this issue Oct 31, 2022 · 2 comments · Fixed by #1514
Labels
examples good first issue Good for newcomers help wanted Extra attention is needed

Comments

@bilelmoussaoui
Copy link
Member

Things that comes to my mind that should be covered

  • A dialog's response signal (as the response type is expected to be an int32 and not a ResponseType)
  • Some signal::notify
@bilelmoussaoui bilelmoussaoui added examples help wanted Extra attention is needed good first issue Good for newcomers labels Oct 31, 2022
@jobale
Copy link
Contributor

jobale commented Oct 16, 2023

I wrote this example jobale/gtk4-rs@f12dfd3 . It shows:

  • Composite template
  • custom property "counter" and its binding with another property
  • signal "notify::counter"
  • dialog's response signal handling
  • callbacks

Is it a correct answer to this issue and should I make a PR of it or not?

@bilelmoussaoui
Copy link
Member Author

Yes please, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants