After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113645 - Include signals in -undocumented.txt
Include signals in -undocumented.txt
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2003-05-24 15:19 UTC by Paolo Borelli
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.73 KB, patch)
2003-05-26 22:12 UTC, Matthias Clasen
none Details | Review

Description Paolo Borelli 2003-05-24 15:19:32 UTC
One of the things that I really miss when consulting gtk API docs is a
description of when signal are emitted; what I mean is:
each widget has a list of its signals, when you click on a signal the docs
show you what the callback should look like. As far as I can see nothing
tells you *when* such a signal is emitted; in many cases this is pretty
obvious from the signal name (eg button-clicked etc), but in many others
it's  not (eg event-after just to name the one I was trying to understand
today).

What I'd like to see is something like

button-clicked:  the signal is emitted when the button is clicked

(I know this is a stupid example ;) but you get the idea... )
Comment 1 Owen Taylor 2003-05-24 16:11:34 UTC
I think this is just "document undocumented signals", which
isn't all that useful of a bug report to have open, in
my opinion. Changes were added to gtk-doc last fall to
allow inline documentation of signals, which is how I
think it should be done in general.

See thread from:

http://mail.gnome.org/archives/gtk-doc-list/2002-November/thread.html

What would help though in trying to get the signal docs
more complete would be to have them in gtk-undocumented.txt,
so I've repurposed to the bug to that end.
Comment 2 Matthias Clasen 2003-05-26 22:12:23 UTC
Here is a patch which changes gtkdoc-mkdb to 

a) include signals and properties in the total number of symbols
b) report undocumented signals and properties
Comment 3 Matthias Clasen 2003-05-26 22:12:47 UTC
Created attachment 16856 [details] [review]
patch
Comment 4 Matthias Clasen 2003-05-27 21:51:20 UTC
Committed with some changes which were requested by Owen on
gtk-doc-list@gnome.org