[gtk+] Move documentation to inline comments: GtkRecentChooserWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move documentation to inline comments: GtkRecentChooserWidget
- Date: Sat, 15 May 2010 23:58:45 +0000 (UTC)
commit 56d7417fcc4f389e9a1e637e7c7dfcdcd31eaea2
Author: Javier Jardón <jjardon gnome org>
Date: Sun May 16 01:58:06 2010 +0200
Move documentation to inline comments: GtkRecentChooserWidget
docs/reference/gtk/tmpl/.gitignore | 1 +
.../reference/gtk/tmpl/gtkrecentchooserwidget.sgml | 58 --------------------
gtk/gtkrecentchooserwidget.c | 19 +++++++
3 files changed, 20 insertions(+), 58 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index c4ff36f..96c7f8c 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -8,6 +8,7 @@ gtkorientable.sgml
gtkpagesetupunixdialog.sgml
gtkradioaction.sgml
gtkrecentaction.sgml
+gtkrecentchooserwidget.sgml
gtkscalebutton.sgml
gtkseparator.sgml
gtkseparatormenuitem.sgml
diff --git a/gtk/gtkrecentchooserwidget.c b/gtk/gtkrecentchooserwidget.c
index 211d852..44169a4 100644
--- a/gtk/gtkrecentchooserwidget.c
+++ b/gtk/gtkrecentchooserwidget.c
@@ -26,6 +26,25 @@
#include "gtktypebuiltins.h"
#include "gtkalias.h"
+
+/**
+ * SECTION:gtkrecentchooserwidget
+ * @Short_description: Displays recently used files
+ * @Title: GtkRecentChooserWidget
+ * @See_also:#GtkRecentChooser, #GtkRecentChooserDialog
+ *
+ * #GtkRecentChooserWidget is a widget suitable for selecting recently used
+ * files. It is the main building block of a #GtkRecentChooserDialog. Most
+ * applications will only need to use the latter; you can use
+ * #GtkRecentChooserWidget as part of a larger window if you have special needs.
+ *
+ * Note that #GtkRecentChooserWidget does not have any methods of its own.
+ * Instead, you should use the functions that work on a #GtkRecentChooser.
+ *
+ * Recently used files are supported since GTK+ 2.10.
+ */
+
+
struct _GtkRecentChooserWidgetPrivate
{
GtkRecentManager *manager;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]