[gtkmm] Added a TODO



commit 790421c687de2a2121c1ba52aa1a84c03288f46b
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu May 12 10:07:48 2011 +0200

    Added a TODO

 gtk/src/appchooser.hg       |   14 ++++++++------
 gtk/src/appchooserbutton.hg |    6 ++++--
 gtk/src/appchooserdialog.hg |   12 +++++++-----
 gtk/src/appchooserwidget.hg |   14 ++++++++------
 4 files changed, 27 insertions(+), 19 deletions(-)
---
diff --git a/gtk/src/appchooser.hg b/gtk/src/appchooser.hg
index 6102960..310d71f 100644
--- a/gtk/src/appchooser.hg
+++ b/gtk/src/appchooser.hg
@@ -31,10 +31,12 @@ typedef struct _GtkAppChooserIface GtkAppChooserIface;
 namespace Gtk
 {
 
-/** This interface can be implemented by widgets which allow the user to choose 
- * an application (typically for the purpose of opening a file). The main 
- * objects that implement this interface are AppChooserWidget, AppChooserDialog 
- * and AppChooserButton. 
+//TODO: The AppChooser content-type is not documented properly: https://bugzilla.gnome.org/show_bug.cgi?id=650012
+
+/** This interface can be implemented by widgets which allow the user to choose
+ * an application (typically for the purpose of opening a file). The main
+ * objects that implement this interface are AppChooserWidget, AppChooserDialog
+ * and AppChooserButton.
  *
  * @newin{3,0}
  */
@@ -45,10 +47,10 @@ class AppChooser : public Glib::Interface
 public:
   _WRAP_METHOD(Glib::RefPtr<Gio::AppInfo> get_app_info(), gtk_app_chooser_get_app_info, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Gio::AppInfo> get_app_info() const, gtk_app_chooser_get_app_info, refreturn, constversion)
-  
+
   _WRAP_METHOD(Glib::ustring get_content_type() const, gtk_app_chooser_get_content_type)
   _WRAP_METHOD(void refresh(), gtk_app_chooser_refresh)
-  
+
   _WRAP_PROPERTY("content_type", Glib::ustring)
 };
 
diff --git a/gtk/src/appchooserbutton.hg b/gtk/src/appchooserbutton.hg
index 25376b9..3871389 100644
--- a/gtk/src/appchooserbutton.hg
+++ b/gtk/src/appchooserbutton.hg
@@ -24,9 +24,11 @@ _PINCLUDE(gtkmm/private/combobox_p.h)
 namespace Gtk
 {
 
+//TODO: The AppChooser content-type is not documented properly: https://bugzilla.gnome.org/show_bug.cgi?id=650012
+
 /** A button to launch an application chooser dialog.
  *
- * This widget lets the user select an application. See the GtkAppChooser base class API. 
+ * This widget lets the user select an application. See the GtkAppChooser base class API.
  *
  * The AppChooserButton widget looks like this:
  * @image html appchooserbutton1.png
@@ -58,7 +60,7 @@ public:
   _WRAP_METHOD(Glib::ustring get_heading() const, gtk_app_chooser_button_get_heading)
 
   _WRAP_SIGNAL(void custom_item_activated(const Glib::ustring& item_name), "custom-item-activated")
-  
+
   _WRAP_PROPERTY("show-dialog-item", bool)
   _WRAP_PROPERTY("heading", Glib::ustring)
 };
diff --git a/gtk/src/appchooserdialog.hg b/gtk/src/appchooserdialog.hg
index fc12af0..0f7fa52 100644
--- a/gtk/src/appchooserdialog.hg
+++ b/gtk/src/appchooserdialog.hg
@@ -25,13 +25,15 @@ _PINCLUDE(gtkmm/private/dialog_p.h)
 namespace Gtk
 {
 
+//TODO: The AppChooser content-type is not documented properly: https://bugzilla.gnome.org/show_bug.cgi?id=650012
+
 /** An application chooser dialog.
  *
  * This dialog shows an AppChooserWidget inside a Dialog.
  *
- * Note that AppChooserDialog does not have any interesting methods of its own. 
- * Instead, you should get the embedded AppChooserWidget using get_widget() and 
- * call its methods if the generic AppChooser base class API is not sufficient for your needs. 
+ * Note that AppChooserDialog does not have any interesting methods of its own.
+ * Instead, you should get the embedded AppChooserWidget using get_widget() and
+ * call its methods if the generic AppChooser base class API is not sufficient for your needs.
  *
  * The AppChooserDialog dialog looks like this:
  * @image html appchooserbutton1.png
@@ -52,7 +54,7 @@ public:
 
   AppChooserDialog(const Glib::ustring& content_type, Gtk::Window& parent);
   _IGNORE(gtk_app_chooser_dialog_new_for_content_type)
-  
+
   explicit AppChooserDialog(const Glib::RefPtr<Gio::File>& file);
 
   AppChooserDialog(const Glib::RefPtr<Gio::File>& file, Gtk::Window& parent);
@@ -60,7 +62,7 @@ public:
 
   _WRAP_METHOD(Widget* get_widget(), gtk_app_chooser_dialog_get_widget)
   _WRAP_METHOD(const Widget* get_widget() const, gtk_app_chooser_dialog_get_widget, constversion)
-  
+
   _WRAP_METHOD(void set_heading(const Glib::ustring& heading), gtk_app_chooser_dialog_set_heading)
   _WRAP_METHOD(Glib::ustring get_heading() const, gtk_app_chooser_dialog_get_heading)
 
diff --git a/gtk/src/appchooserwidget.hg b/gtk/src/appchooserwidget.hg
index 7ced145..53ede7c 100644
--- a/gtk/src/appchooserwidget.hg
+++ b/gtk/src/appchooserwidget.hg
@@ -25,10 +25,12 @@ _PINCLUDE(gtkmm/private/box_p.h)
 namespace Gtk
 {
 
+//TODO: The AppChooser content-type is not documented properly: https://bugzilla.gnome.org/show_bug.cgi?id=650012
+
 /** An application chooser widget that can be embedded in other widgets
  *
- * This widget is for selecting applications. It is the main building block for AppChooserDialog. 
- * Most applications only need to use the latter, but you can use this widget as part of a larger widget if you have special needs. 
+ * This widget is for selecting applications. It is the main building block for AppChooserDialog.
+ * Most applications only need to use the latter, but you can use this widget as part of a larger widget if you have special needs.
  *
  * The AppChooserWidget widget looks like this:
  * @image html appchooserwidget1.png
@@ -62,19 +64,19 @@ public:
 
   _WRAP_METHOD(void set_show_other(bool setting = true), gtk_app_chooser_widget_set_show_other)
   _WRAP_METHOD(bool get_show_other() const, gtk_app_chooser_widget_get_show_other)
-  
+
   _WRAP_METHOD(void set_show_all(bool setting = true), gtk_app_chooser_widget_set_show_all)
   _WRAP_METHOD(bool get_show_all() const, gtk_app_chooser_widget_get_show_all)
 
   _WRAP_METHOD(void set_default_text(const Glib::ustring& text), gtk_app_chooser_widget_set_default_text)
   _WRAP_METHOD(Glib::ustring get_default_text(), gtk_app_chooser_widget_get_default_text)
-  
-  
+
+
 #m4 _CONVERSION(`GAppInfo*',`const Glib::RefPtr<Gio::AppInfo>&',`Glib::wrap($3, true)')
   _WRAP_SIGNAL(void application_selected(const Glib::RefPtr<Gio::AppInfo>& app_info), "application-selected")
   _WRAP_SIGNAL(void application_activated(const Glib::RefPtr<Gio::AppInfo>& app_info), "application-activated")
   _WRAP_SIGNAL(void populate_popup(Menu* menu, const Glib::RefPtr<Gio::AppInfo>& app_info), "populate-popup")
-                                  
+
   _WRAP_PROPERTY("show-default", bool)
   _WRAP_PROPERTY("show-recommended", bool)
   _WRAP_PROPERTY("show-fallback", bool)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]