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 87016 - Not all classes have overview docs
Not all classes have overview docs
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: reference documentation
2.0
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-07-01 16:04 UTC by Murray Cumming
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add descriptions for several classes. (10.22 KB, patch)
2002-07-08 01:50 UTC, Morten Brix Pedersen
none Details | Review
Patch to add more descriptions. (36.34 KB, patch)
2002-07-08 14:21 UTC, Morten Brix Pedersen
none Details | Review

Description Murray Cumming 2002-07-01 16:04:21 UTC
We don't reuse the GTK+ reference documentation for the classes themselves,
just for the methods. Someone needs to look at every class (e.g. every *.hg
file and add an appropriate Doxygen description. Many already exists. You
should look at the gtk+ API reference (www.gtkmm.org) and reword it
appropriately.
Comment 1 Morten Brix Pedersen 2002-07-08 01:50:29 UTC
Created attachment 9701 [details] [review]
Patch to add descriptions for several classes.
Comment 2 Morten Brix Pedersen 2002-07-08 01:53:48 UTC
I noticed that the description of some classes has a small
introduction text, e.g.:

/** Alignment Container
 * Normally, a widget is allocated at least as much size as it
requests, and,[...]


Is there a greater purpose for the "Alignment Container" bit? It
doesn't look very good in the doxygen output.
Comment 3 Murray Cumming 2002-07-08 07:39:34 UTC
Doxygen uses the first sentence at the top of the page. There is no
way not to have a first sentence.
Comment 4 Murray Cumming 2002-07-08 07:50:42 UTC
Applied. I guess that this bug needs to stay open for other widgets.
Comment 5 Morten Brix Pedersen 2002-07-08 10:19:28 UTC
I think you misunderstood me, look at the Gtk::Alignment documentation:

http://gtkmm.org/gtkmm2/reference/html/classGtk_1_1Alignment.html

It doesn't look very pretty with the two first words there.

Comment 6 Murray Cumming 2002-07-08 10:36:50 UTC
I guess that a full stop would fix that.

OK. Also, see item 11 here about highlighting:
http://www.stack.nl/~dimitri/doxygen/faq.html
Comment 7 Morten Brix Pedersen 2002-07-08 10:53:01 UTC
OK, thats the first part of the problem. The second part is that:

"Alignment Container Normally, a widget is allocated at least[..]"
Doesn't sound or look very good when you read it in English.

I investigated and looked through the doxygen manual (sorry, can't
find an online version) - it seems that you can add a brief comment
with \brief, and it will stack nicely up on the top of the page, with
a link to the detailed documentation. The brief comment is also used
on the class-overview page.

I think we should add this to all classes, if you agree, I can do it.
Comment 8 Murray Cumming 2002-07-08 11:46:37 UTC
I was suggesting a full stop after "Alignment Container", so I don't
understand what you mean. We already have brief comments at the top -
they are the _first sentences_.
Comment 9 Morten Brix Pedersen 2002-07-08 12:06:41 UTC
Ah. I didn't read the rest of the doxygen documentation, you don't
need \brief when JAVADOC_AUTOBRIEF is turned on, which it is in gtkmm.
Comment 10 Morten Brix Pedersen 2002-07-08 14:21:58 UTC
Created attachment 9708 [details] [review]
Patch to add more descriptions.
Comment 11 Morten Brix Pedersen 2002-07-08 14:25:20 UTC
Documentation for quite a few methods in widget.hg (and in some other
files) have the old documentation notation, e.g.:

//: Show a widget.

Is there a reason why this hasn't been changed to the new syntax, or
is it a bug?

Comment 12 Murray Cumming 2002-07-08 15:16:30 UTC
They are probably bugs. But we really need to check whether the
--enable--fulldocs feature is reusing appropriate documentation from
GTK+ instead.
Comment 13 Murray Cumming 2002-07-08 16:20:21 UTC
Applied. Uploaded docs.

I guess that you are getting this from the GTK+ docs, right?
Comment 14 Morten Brix Pedersen 2002-07-08 16:29:54 UTC
Right.
Comment 15 Murray Cumming 2002-07-13 19:01:22 UTC
Closing this for now. There are probably still classes without docs,
but no major ones. I just added lots for the Menu stuff.