[gtksourceview] Document GtkSourceCompletionProposal vfuncs
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Document GtkSourceCompletionProposal vfuncs
- Date: Sat, 16 Mar 2013 22:56:34 +0000 (UTC)
commit cd3ee35dc7c1d93ac2b4f1a047c5fd8e43347800
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Mar 16 23:18:15 2013 +0100
Document GtkSourceCompletionProposal vfuncs
It is useful for knowing the default implementations.
docs/reference/gtksourceview-3.0-sections.txt | 2 +-
gtksourceview/gtksourcecompletionproposal.h | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gtksourceview-3.0-sections.txt b/docs/reference/gtksourceview-3.0-sections.txt
index 6f12136..4cb9933 100644
--- a/docs/reference/gtksourceview-3.0-sections.txt
+++ b/docs/reference/gtksourceview-3.0-sections.txt
@@ -501,6 +501,7 @@ GtkSourceCompletionInfoClass
<FILE>completionproposal</FILE>
<TITLE>GtkSourceCompletionProposal</TITLE>
GtkSourceCompletionProposal
+GtkSourceCompletionProposalIface
gtk_source_completion_proposal_get_label
gtk_source_completion_proposal_get_markup
gtk_source_completion_proposal_get_text
@@ -515,7 +516,6 @@ GTK_SOURCE_COMPLETION_PROPOSAL
GTK_SOURCE_COMPLETION_PROPOSAL_GET_INTERFACE
GTK_SOURCE_TYPE_COMPLETION_PROPOSAL
gtk_source_completion_proposal_get_type
-GtkSourceCompletionProposalIface
</SECTION>
<SECTION>
diff --git a/gtksourceview/gtksourcecompletionproposal.h b/gtksourceview/gtksourcecompletionproposal.h
index 1e33b65..05d0969 100644
--- a/gtksourceview/gtksourcecompletionproposal.h
+++ b/gtksourceview/gtksourcecompletionproposal.h
@@ -36,6 +36,27 @@ G_BEGIN_DECLS
typedef struct _GtkSourceCompletionProposalIface GtkSourceCompletionProposalIface;
+/**
+ * GtkSourceCompletionProposalIface:
+ * @parent: The parent interface.
+ * @get_label: The virtual function pointer for gtk_source_completion_proposal_get_label().
+ * By default, %NULL is returned.
+ * @get_markup: The virtual function pointer for gtk_source_completion_proposal_get_markup().
+ * By default, %NULL is returned.
+ * @get_text: The virtual function pointer for gtk_source_completion_proposal_get_text().
+ * By default, %NULL is returned.
+ * @get_icon: The virtual function pointer for gtk_source_completion_proposal_get_icon().
+ * By default, %NULL is returned.
+ * @get_info: The virtual function pointer for gtk_source_completion_proposal_get_info().
+ * By default, %NULL is returned.
+ * @hash: The virtual function pointer for gtk_source_completion_proposal_hash().
+ * By default, it uses a direct hash (g_direct_hash()).
+ * @equal: The virtual function pointer for gtk_source_completion_proposal_equal().
+ * By default, it uses direct equality (g_direct_equal()).
+ * @changed: The function pointer for the #GtkSourceCompletionProposal::changed signal.
+ *
+ * The virtual function table for #GtkSourceCompletionProposal.
+ */
struct _GtkSourceCompletionProposalIface
{
GTypeInterface parent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]