[gtksourceviewmm/devel: 7/26] Wrapped GtkSourceCompletionProposal.



commit 98f65b546adf142baf9689ed398bab78ba2c3bad
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Fri Dec 11 22:07:30 2009 +0100

    Wrapped GtkSourceCompletionProposal.
    
    * gtksourceview/src/sourcecompletionproposal.hg:
    * gtksourceview/src/sourcecompletionproposal.ccg: New files with
    wrapped GtkSourceCompletionProposal.

 gtksourceview/src/sourcecompletionproposal.ccg |   20 +++++++++
 gtksourceview/src/sourcecompletionproposal.hg  |   50 ++++++++++++++++++++++++
 2 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/src/sourcecompletionproposal.ccg b/gtksourceview/src/sourcecompletionproposal.ccg
new file mode 100644
index 0000000..e184801
--- /dev/null
+++ b/gtksourceview/src/sourcecompletionproposal.ccg
@@ -0,0 +1,20 @@
+/* sourcecompletionproposal.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/gtksourcecompletionproposal.h>
diff --git a/gtksourceview/src/sourcecompletionproposal.hg b/gtksourceview/src/sourcecompletionproposal.hg
new file mode 100644
index 0000000..7a1cb44
--- /dev/null
+++ b/gtksourceview/src/sourcecompletionproposal.hg
@@ -0,0 +1,50 @@
+/* sourcecompletionproposal.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 <glibmm/interface.h>
+#include <glibmm/ustring.h>
+
+_DEFS(gtksourceviewmm,gtksourceview)
+_PINCLUDE(glibmm/private/object_p.h)
+
+namespace gtksourceview
+{
+
+class SourceCompletionProposal : public Glib::Interface
+{
+  _CLASS_INTERFACE(SourceCompletionProposal, GtkSourceCompletionProposal, GTK_SOURCE_COMPLETION_PROPOSAL, GtkSourceCompletionProposalIface)
+
+public:
+  _WRAP_METHOD(Glib::ustring get_label() const, gtk_source_completion_proposal_get_label)
+  _WRAP_METHOD(Glib::ustring get_markup() const, gtk_source_completion_proposal_get_markup)
+  _WRAP_METHOD(Glib::ustring get_text() const, gtk_source_completion_proposal_get_text)
+  _WRAP_METHOD(Glib::RefPtr<Gdk::Pixbuf> get_icon(), gtk_source_completion_proposal_get_icon, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Gdk::Pixbuf> get_icon() const, gtk_source_completion_proposal_get_icon, constversion, refreturn)
+  _WRAP_METHOD(Glib::ustring get_info() const, gtk_source_completion_proposal_get_info)
+  _WRAP_METHOD(void changed(), gtk_source_completion_proposal_changed)
+  _WRAP_METHOD(guint hash() const, gtk_source_completion_proposal_hash)
+  _WRAP_METHOD(bool equal(const SourceCompletionProposal& other) const, gtk_source_completion_proposal_equal)
+//  bool operator==(const SourceCompletionProposal& other) const;
+  
+  _WRAP_SIGNAL(void changed(), "changed")
+};
+
+} // namespace gtksourceview
+
+



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