[gtkmm] CssProvider: load_from_data(): Added documentation.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] CssProvider: load_from_data(): Added documentation.
- Date: Wed, 23 Feb 2011 10:06:50 +0000 (UTC)
commit e65a72f09f93a6c535fa0a652c440fee802dd444
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Feb 23 09:25:38 2011 +0100
CssProvider: load_from_data(): Added documentation.
* gtk/src/cssprovider.hg: load_from_data(): Add doxygen documentation
which was previously generated when using _WRAP_METHOD().
ChangeLog | 7 +++++++
gtk/src/cssprovider.hg | 8 +++++++-
2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6b68746..e8be530 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-23 Murray Cumming <murrayc murrayc com>
+
+ CssProvider: load_from_data(): Added documentation.
+
+ * gtk/src/cssprovider.hg: load_from_data(): Add doxygen documentation
+ which was previously generated when using _WRAP_METHOD().
+
2011-02-22 Fabien Parent <parent f gmail com>
Gtk::CssProvider: Simplify the load_from_data method.
diff --git a/gtk/src/cssprovider.hg b/gtk/src/cssprovider.hg
index 10f51a3..b8711d3 100644
--- a/gtk/src/cssprovider.hg
+++ b/gtk/src/cssprovider.hg
@@ -36,12 +36,18 @@ class CssProvider
_IMPLEMENTS_INTERFACE(StyleProvider)
protected:
_CTOR_DEFAULT()
- _IGNORE(gtk_css_provider_new, gtk_css_provider_load_from_data)
+ _IGNORE(gtk_css_provider_new)
public:
_WRAP_CREATE()
+ /** Loads @a data into this css provider, making it clear any previously loaded information.
+ *
+ * @param data CSS data loaded in memory.
+ * @result True if the data could be loaded.
+ */
bool load_from_data(const std::string& data);
+ _IGNORE(gtk_css_provider_load_from_data)
_WRAP_METHOD(bool load_from_file(const Glib::RefPtr<const Gio::File>& file), gtk_css_provider_load_from_file, errthrow)
_WRAP_METHOD(bool load_from_path(const std::string& path), gtk_css_provider_load_from_path, errthrow)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]