07-02-2020, 01:12 PM
If you take a look here
you can see, that something like
could also be used.
In most C GTK apps I have looked at (gnome-calendar, phosh, calls, chatty) usually the finalize or dispose methods
are overriden. (By the way I only started with GTK in C ~2months back - so I'm definitely not an expert - I just poke at things
until they do what I want them to )
Yup!
you can see, that something like
Code:
g_signal_connect (window, "destroy",
G_CALLBACK (destroy), NULL);
In most C GTK apps I have looked at (gnome-calendar, phosh, calls, chatty) usually the finalize or dispose methods
are overriden. (By the way I only started with GTK in C ~2months back - so I'm definitely not an expert - I just poke at things
until they do what I want them to )
Quote:and read it like if gtk object class is finalized run the finalize function.
Is this the case?
Yup!