[gtksourceviewmm/devel: 12/26] Wrapped GtkSourceCompletionItem.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm/devel: 12/26] Wrapped GtkSourceCompletionItem.
- Date: Wed, 6 Jan 2010 09:55:51 +0000 (UTC)
commit f980af8794a60bd4c6274c990954005bc9be1686
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Jan 6 00:57:10 2010 +0100
Wrapped GtkSourceCompletionItem.
* gtksourceview/src/sourcecompletionitem.hg:
* gtksourceview/src/sourcecompletionitem.ccg: New files with
wrapped GtkSourceCompletionItem.
gtksourceview/src/sourcecompletionitem.ccg | 20 +++++++++++
gtksourceview/src/sourcecompletionitem.hg | 50 ++++++++++++++++++++++++++++
2 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/src/sourcecompletionitem.ccg b/gtksourceview/src/sourcecompletionitem.ccg
new file mode 100644
index 0000000..baadcb2
--- /dev/null
+++ b/gtksourceview/src/sourcecompletionitem.ccg
@@ -0,0 +1,20 @@
+/* sourcecompletionitem.cc
+ *
+ * Copyright (C) 2009 Krzesimir Nowak
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gtksourceview/gtksourcecompletionitem.h>
diff --git a/gtksourceview/src/sourcecompletionitem.hg b/gtksourceview/src/sourcecompletionitem.hg
new file mode 100644
index 0000000..fb2ca0f
--- /dev/null
+++ b/gtksourceview/src/sourcecompletionitem.hg
@@ -0,0 +1,50 @@
+/* sourcecompletionitem.h
+ *
+ * Copyright (C) 2009 Krzesimir Nowak
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gtksourceviewmm/sourcemarkup.h>
+
+_DEFS(gtksourceviewmm,gtksourceview)
+_PINCLUDE(glibmm/private/object_p.h)
+
+
+namespace gtksourceview
+{
+
+class SourceCompletionItem : public Glib::Object
+{
+ _CLASS_GOBJECT(SourceCompletionItem, GtkSourceCompletionItem, GTK_SOURCE_COMPLETION_ITEM, Glib::Object, GObject)
+ _IMPLEMENTS_INTERFACE(SourceCompletionProposal)
+protected:
+ _WRAP_CTOR(SourceCompletionItem(const Glib::ustring& label, const Glib::ustring& text, const Glib::RefPtr<const Gdk::Pixbuf>& icon, const Glib::ustring& info), gtk_source_completion_item_new)
+ _WRAP_CTOR(SourceCompletionItem(const SourceMarkup& markup, const Glib::ustring& text const Glib::RefPtr<const Gdk::Pixbuf>& icon, const Glib::ustring& info), gtk_source_completion_item_new_with_markup)
+ _WRAP_CTOR(SourceCompletionItem(const SourceMarkup& markup, const Glib::ustring& text const Gtk::StockID& stock, const Glib::ustring& info), gtk_source_completion_item_new_from_stock)
+public:
+ _WRAP_CTOR(const Glib::ustring& label, const Glib::ustring& text, const Glib::RefPtr<const Gdk::Pixbuf>& icon, const Glib::ustring& info)
+ _WRAP_CTOR(SourceCompletionItem(const SourceMarkup& markup, const Glib::ustring& text const Glib::RefPtr<const Gdk::Pixbuf>& icon, const Glib::ustring& info)
+ _WRAP_CTOR(const SourceMarkup& markup, const Glib::ustring& text const Gtk::StockID& stock, const Glib::ustring& info)
+
+ _WRAP_PROPERTY("icon", Glib::RefPtr<Gdk::Pixbuf>)
+ _WRAP_PROPERTY("info", Glib::ustring)
+ _WRAP_PROPERTY("label", Glib::ustring)
+ _WRAP_PROPERTY("markup", Glib::ustring)
+ _WRAP_PROPERTY("text", Glib::ustring)
+};
+
+} /* namespace gtksourceview */
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]