[LAD] GUI mechanics question: interaction between UI control and data

Jeanette C. julien at mail.upb.de
Sun May 29 20:11:30 CEST 2022


May 29 2022, Tim Orford has written:
...
> Hi
>
> For Gtk, perhaps this answer to a similar question might be helpful:
> https://discourse.gnome.org/t/declarative-state-driven-views-for-gtk/9966
>
> The recommendation is to use GObject.bind_property().
> https://docs.gtk.org/gobject/method.Object.bind_property.html
> This can provide one or two way binding between data and UI objects
> as long as they both inherit from GObject.
Thanks a lot for your reply. This is similar to what I have been working
out, a kind of two way signal connection, either inherent to the UI or
as a more general concept/type. It's good to see this confirmed and
formalised.
...

Thanks again and best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

With you I get so high
Lost in the crystal sky
You are this melody
That's where you take me <3
(Britney Spears)


More information about the Linux-audio-dev mailing list