Re: Signals and Properties
"J. Ali Harlow" <[email protected]> Mon, 20 Oct 2008 11:17:06 +0100
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
On 10/17/2008 07:05:56 PM, Adrian E. Feiguin wrote: [re. underscores or dashes in signal names] > I think this would be a question for the gtk mailing-list. Maybe a > search through the archives will give us the answer. > <ADRIAN> I thought this had been answered, but anyway: Underscores were the old standard which changed to dashes. Either will now work in code, but dashes are preferred and should be used in preference in documentation. There is also a tiny performance hit to using underscores in code, but I doubt very much you could measure it. The documentation for g_signal_new does talk about this a little. Cheers, Ali. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/