Re: Signals and Properties
Stefan Kost <[email protected]> Mon, 20 Oct 2008 23:14:54 +0300
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
Hi, Dan Gruhn schrieb: > Adrian, > > I'm working on the gtkplotcsurface.c/h files now and I've noticed that > the properties are specified like "levels_style" but GtkDoc renders it > as "levels-style" (underscore vs. dash) in the documentation, which > seems to be more standard as far as GTK+ is concerned. The same thing > is occurring for signals in other parts of the code that I haven't > gotten to yet. > > Do you know if either or both of these forms work? I'm not sure why > GtkDoc is changing things and welcome any thoughts anyone has as to how > to get this to work properly. Let me chime in as a gtk-doc maintainer :) I suggest to use "-" for properties and signals everywhere. Its not a code break, as actually internally glib accepts both. The only exception is that "notify::my_signal" is not mapped. Stefan > > Dan > > > ------------------------------------------------------------------------- > 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=/ > _______________________________________________ > Scigraphica-gtkextra mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra ------------------------------------------------------------------------- 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=/