Why are signal names strings and not enums?
- Date: Fri, 06 Oct 2017 13:23:14 +0200
- From: Stefan Salewski <mail@xxxxxxxxxxxx>
- Subject: Why are signal names strings and not enums?
We are using code like
Why strings and not enums for clicked and destroy parameter?
I wondered about that myself when I started with GTK ten years ago and
recently someone suggested to do not use strings for my Nim GTK
Well, strings have the disadvantage that undefined signal names are not
discovered during compile process.
gtk-list mailing list