Tuesday, January 18, 2011

huh

The newer GTK book is outdated, too. I was getting super confused by the book all but glossing over what I think is a really important concept in GTK - signals and callbacks. That's how every interactive thing works. You click/drag/etc and the widget emits a signal. There are specific calls to "catch" those signals and execute a function (as well as pass that function various things). Those functions are poorly explained in this book, and one variant of the function is used frequently and was never explained.

I look it up in the latest docs and the notes all but say "uhh yea this isn't super useful so don't worry about it unless you really need it".

-sigh-

Is this what being a "real" programmer is like?

No comments:

Post a Comment