Closed goluckyryan closed 1 year ago
Hi Toshio-San,
In Section 4 [https://github.com/ToshioCP/Gtk4-tutorial/blob/main/gfm/sec4.md]
In the app_activate function, there are 2 pointers win and lab. Do we need to delete it at the end of the program? or GTK will handle that?
Also, why the function is static void but not just void?
Thank you very much.
Best regards, Ryan
oh... I probably don't sleep well. there is no new, no need to delete. the scope of pointer only in the function.
Hi Toshio-San,
In Section 4 [https://github.com/ToshioCP/Gtk4-tutorial/blob/main/gfm/sec4.md]
In the app_activate function, there are 2 pointers win and lab. Do we need to delete it at the end of the program? or GTK will handle that?
Also, why the function is static void but not just void?
Thank you very much.
Best regards, Ryan