GTK is too much magic

When i am working with GTK and when i trying to create my own custom widgets there is one thing that bothers me a lot is using multiple macros like G_DECLARE_FINAL_TYPE or G_DEFINE_TYPE and similar macros that I wished there was some documentations on how to create custom types and interfaces without these macros. Or if there is documentation or example please help me. I do not care about my code size and I hate magic when I am writing a program. I paused using GTK for now until i find an answer for my question.

Following might help.

FWIW, there is documentation on G_DECLARE_FINAL_TYPE and G_DEFINE_TYPE.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.