[Vala] [patch] Gtksourceview
- From: Nicolas <c r n a wanadoo fr>
- To: vala-list gnome org
- Subject: [Vala] [patch] Gtksourceview
- Date: Sat, 05 Dec 2009 13:09:30 +0100
Hi,
This is the patch for last version of Gtksourceview.
If someone can apply it to the git repository...
--- a/vapi/gtksourceview-2.0.vapi 2009-09-17 17:36:01.000000000 +0200
+++ b/vapi/gtksourceview-2.0.vapi 2009-11-20 11:47:30.000000000 +0100
@@ -40,6 +40,126 @@
public Gtk.SourceStyleScheme style_scheme { get; set; }
public virtual signal void source_mark_updated (Gtk.TextMark p0);
}
+ [CCode (cheader_filename = "gtksourceview/gtksourcecompletion.h")]
+ public class SourceCompletion : Gtk.Object {
+ public bool add_provider (Gtk.SourceCompletionProvider
provider) throws GLib.Error;
+ public unowned Gtk.SourceCompletionContext create_context
(Gtk.TextIter position);
+ public static GLib.Quark error_quark ();
+ public unowned Gtk.SourceCompletionInfo get_info_window ();
+ public unowned GLib.List get_providers ();
+ public void* get_view ();
+ public void hide ();
+ public void move_window (Gtk.TextIter iter);
+ [NoWrapper]
+ public virtual bool proposal_activated
(Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal
proposal);
+ public bool remove_provider (Gtk.SourceCompletionProvider
provider) throws GLib.Error;
+ public bool show (GLib.List providers,
Gtk.SourceCompletionContext context);
+ [NoAccessorMethod]
+ public uint accelerators { get; set construct; }
+ [NoAccessorMethod]
+ public uint auto_complete_delay { get; set construct; }
+ [NoAccessorMethod]
+ public uint proposal_page_size { get; set construct; }
+ [NoAccessorMethod]
+ public uint provider_page_size { get; set construct; }
+ [NoAccessorMethod]
+ public bool remember_info_visibility { get; set construct; }
+ [NoAccessorMethod]
+ public bool select_on_show { get; set construct; }
+ [NoAccessorMethod]
+ public bool show_headers { get; set construct; }
+ public Gtk.SourceView view { get; construct; }
+ public virtual signal void activate_proposal ();
+ public virtual signal void move_cursor (Gtk.ScrollStep step,
int num);
+ public virtual signal void move_page (Gtk.ScrollStep step, int
num);
+ public virtual signal void populate_context
(Gtk.SourceCompletionContext context);
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public class SourceCompletionContext : GLib.InitiallyUnowned {
+ public void add_proposals (void* provider, GLib.List proposals,
bool finished);
+ public Gtk.SourceCompletionActivation get_activation ();
+ public void get_iter (Gtk.TextIter iter);
+ public void* get_view ();
+ [NoAccessorMethod]
+ public Gtk.SourceCompletionActivation activation { get; set; }
+ [NoAccessorMethod]
+ public Gtk.SourceCompletion completion { owned get; construct; }
+ [NoAccessorMethod]
+ public void* iter { get; set; }
+ public Gtk.SourceView view { get; }
+ public virtual signal void cancelled ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksourcecompletioninfo.h")]
+ public class SourceCompletionInfo : Gtk.Window, Atk.Implementor,
Gtk.Buildable {
+ [CCode (has_construct_function = false)]
+ public SourceCompletionInfo ();
+ public unowned Gtk.Widget get_widget ();
+ public void move_to_iter (Gtk.TextView view, Gtk.TextIter iter);
+ public void process_resize ();
+ public void set_sizing (int width, int height, bool
shrink_width, bool shrink_height);
+ public void set_widget (Gtk.Widget widget);
+ [NoAccessorMethod]
+ public int max_height { get; set construct; }
+ [NoAccessorMethod]
+ public int max_width { get; set construct; }
+ [NoAccessorMethod]
+ public bool shrink_height { get; set construct; }
+ [NoAccessorMethod]
+ public bool shrink_width { get; set construct; }
+ public virtual signal void before_show ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public class SourceCompletionItem : GLib.Object,
Gtk.SourceCompletionProposal {
+ [CCode (has_construct_function = false)]
+ public SourceCompletionItem (string label, string text,
Gdk.Pixbuf icon, string info);
+ [CCode (has_construct_function = false)]
+ public SourceCompletionItem.from_stock (string label, string
text, string stock, string info);
+ [CCode (has_construct_function = false)]
+ public SourceCompletionItem.with_markup (string markup, string
text, Gdk.Pixbuf icon, string info);
+ [NoAccessorMethod]
+ public Gdk.Pixbuf icon { owned get; set; }
+ [NoAccessorMethod]
+ public string info { owned get; set; }
+ [NoAccessorMethod]
+ public string label { owned get; set; }
+ [NoAccessorMethod]
+ public string markup { owned get; set; }
+ [NoAccessorMethod]
+ public string text { owned get; set; }
+ }
+ [CCode (cheader_filename =
"gtksourceview/completion-providers/words/gtksourcecompletionwords.h")]
+ public class SourceCompletionWords : GLib.Object,
Gtk.SourceCompletionProvider {
+ [CCode (has_construct_function = false)]
+ public SourceCompletionWords (string? name, Gdk.Pixbuf? icon);
+ public void register (Gtk.TextBuffer buffer);
+ public void unregister (Gtk.TextBuffer buffer);
+ [NoAccessorMethod]
+ public Gdk.Pixbuf icon { owned get; set construct; }
+ [NoAccessorMethod]
+ public uint minimum_word_size { get; set construct; }
+ [NoAccessorMethod]
+ public string name { owned get; set construct; }
+ [NoAccessorMethod]
+ public uint proposals_batch_size { get; set construct; }
+ [NoAccessorMethod]
+ public uint scan_batch_size { get; set construct; }
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public class SourceGutter : GLib.Object {
+ public unowned Gdk.Window get_window ();
+ public void insert (Gtk.CellRenderer renderer, int position);
+ public void queue_draw ();
+ public void remove (Gtk.CellRenderer renderer);
+ public void reorder (Gtk.CellRenderer renderer, int position);
+ public void set_cell_data_func (Gtk.CellRenderer renderer,
Gtk.SourceGutterDataFunc func, void* func_data, GLib.DestroyNotify destroy);
+ public void set_cell_size_func (Gtk.CellRenderer renderer,
Gtk.SourceGutterSizeFunc func, void* func_data, GLib.DestroyNotify destroy);
+ [NoAccessorMethod]
+ public Gtk.SourceView view { owned get; construct; }
+ [NoAccessorMethod]
+ public Gtk.TextWindowType window_type { get; construct; }
+ public virtual signal void cell_activated (Gtk.CellRenderer
renderer, Gtk.TextIter iter, void* event);
+ public virtual signal bool query_tooltip (Gtk.CellRenderer
renderer, Gtk.TextIter iter, Gtk.Tooltip tooltip);
+ }
[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
public class SourceLanguage : GLib.Object {
public unowned string get_globs ();
@@ -205,7 +325,9 @@
[CCode (type = "GtkWidget*", has_construct_function = false)]
public SourceView ();
public bool get_auto_indent ();
+ public unowned Gtk.SourceCompletion get_completion ();
public Gtk.SourceDrawSpacesFlags get_draw_spaces ();
+ public unowned Gtk.SourceGutter get_gutter (Gtk.TextWindowType
window_type);
public bool get_highlight_current_line ();
public bool get_indent_on_tab ();
public int get_indent_width ();
@@ -226,6 +348,9 @@
public void set_indent_width (int width);
public void set_insert_spaces_instead_of_tabs (bool enable);
public void set_mark_category_background (string category,
Gdk.Color color);
+ public void set_mark_category_icon_from_icon_name (string
category, string name);
+ public void set_mark_category_icon_from_pixbuf (string
category, Gdk.Pixbuf pixbuf);
+ public void set_mark_category_icon_from_stock (string category,
string stock_id);
public void set_mark_category_pixbuf (string category,
Gdk.Pixbuf pixbuf);
public void set_mark_category_priority (string category, int
priority);
public void set_mark_category_tooltip_func (string category,
Gtk.SourceViewMarkTooltipFunc func, GLib.DestroyNotify user_data_notify);
@@ -239,6 +364,7 @@
[CCode (type = "GtkWidget*", has_construct_function = false)]
public SourceView.with_buffer (Gtk.SourceBuffer buffer);
public bool auto_indent { get; set; }
+ public Gtk.SourceCompletion completion { get; }
public Gtk.SourceDrawSpacesFlags draw_spaces { get; set; }
public bool highlight_current_line { get; set; }
public bool indent_on_tab { get; set; }
@@ -250,9 +376,46 @@
public bool show_right_margin { get; set; }
public Gtk.SourceSmartHomeEndType smart_home_end { get; set; }
public uint tab_width { get; set; }
+ public virtual signal void line_mark_activated (Gtk.TextIter
iter, void* event);
public virtual signal void redo ();
+ public virtual signal void show_completion ();
public virtual signal void undo ();
}
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public interface SourceCompletionProposal : GLib.Object {
+ public void changed ();
+ public abstract bool equal (Gtk.SourceCompletionProposal other);
+ public abstract unowned Gdk.Pixbuf get_icon ();
+ public abstract unowned string get_info ();
+ public abstract unowned string get_label ();
+ public abstract unowned string get_markup ();
+ public abstract unowned string get_text ();
+ public abstract uint hash ();
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public interface SourceCompletionProvider : GLib.Object {
+ public abstract bool activate_proposal
(Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter);
+ public abstract Gtk.SourceCompletionActivation get_activation ();
+ public abstract unowned Gdk.Pixbuf get_icon ();
+ public abstract unowned Gtk.Widget get_info_widget
(Gtk.SourceCompletionProposal proposal);
+ public abstract unowned string get_name ();
+ public abstract bool get_start_iter
(Gtk.SourceCompletionContext context, Gtk.SourceCompletionProposal
proposal, Gtk.TextIter iter);
+ public abstract bool match (Gtk.SourceCompletionContext context);
+ public abstract void populate (Gtk.SourceCompletionContext
context);
+ public abstract void update_info (Gtk.SourceCompletionProposal
proposal, Gtk.SourceCompletionInfo info);
+ }
+ [CCode (cprefix = "GTK_SOURCE_COMPLETION_ACTIVATION_",
cheader_filename = "gtksourceview/gtksourceview.h")]
+ [Flags]
+ public enum SourceCompletionActivation {
+ NONE,
+ INTERACTIVE,
+ USER_REQUESTED
+ }
+ [CCode (cprefix = "GTK_SOURCE_COMPLETION_ERROR_", cheader_filename
= "gtksourceview/gtksourceview.h")]
+ public enum SourceCompletionError {
+ ALREADY_BOUND,
+ NOT_BOUND
+ }
[CCode (cprefix = "GTK_SOURCE_DRAW_SPACES_", cheader_filename =
"gtksourceview/gtksourceview.h")]
[Flags]
public enum SourceDrawSpacesFlags {
@@ -260,6 +423,9 @@
TAB,
NEWLINE,
NBSP,
+ LEADING,
+ TEXT,
+ TRAILING,
ALL
}
[CCode (cprefix = "GTK_SOURCE_SEARCH_", cheader_filename =
"gtksourceview/gtksourceiter.h")]
@@ -276,9 +442,22 @@
AFTER,
ALWAYS
}
+ [CCode (cprefix = "GTK_SOURCE_VIEW_GUTTER_POSITION_",
cheader_filename = "gtksourceview/gtksourceview.h")]
+ public enum SourceViewGutterPosition {
+ LINES,
+ MARKS
+ }
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public delegate void SourceGutterDataFunc (Gtk.SourceGutter gutter,
Gtk.CellRenderer cell, int line_number, bool current_line);
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public delegate void SourceGutterSizeFunc (Gtk.SourceGutter gutter,
Gtk.CellRenderer cell);
[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
public delegate unowned string SourceViewMarkTooltipFunc
(Gtk.SourceMark mark);
[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public const string SOURCE_COMPLETION_CAPABILITY_AUTOMATIC;
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+ public const string SOURCE_COMPLETION_CAPABILITY_INTERACTIVE;
+ [CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
public static bool source_iter_backward_search (Gtk.TextIter iter,
string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start,
out Gtk.TextIter match_end, Gtk.TextIter? limit);
[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
public static bool source_iter_forward_search (Gtk.TextIter iter,
string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start,
out Gtk.TextIter match_end, Gtk.TextIter? limit);
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
2009-08-14 19:11:46.000000000 +0200
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
2009-11-19 12:04:51.000000000 +0100
@@ -25,4 +25,7 @@
gtk_source_style_scheme_manager_get_scheme_ids is_array="1"
array_null_terminated="1"
GtkTextRegion hidden="1"
GtkTextRegionIterator hidden="1"
-
+GtkSourceCompletion::hide hidden="1"
+GtkSourceCompletion::show hidden="1"
+GtkSourceCompletionProposal hidden="1"
+GtkSourceCompletionProposal::changed hidden="1"
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi 2009-08-14
19:11:46.000000000 +0200
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi 2009-11-19
12:03:32.000000000 +0100
@@ -23,6 +23,24 @@
<parameter name="limit" type="GtkTextIter*"/>
</parameters>
</function>
+ <callback name="GtkSourceGutterDataFunc">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="cell" type="GtkCellRenderer*"/>
+ <parameter name="line_number" type="gint"/>
+ <parameter name="current_line" type="gboolean"/>
+ <parameter name="data" type="gpointer"/>
+ </parameters>
+ </callback>
+ <callback name="GtkSourceGutterSizeFunc">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="cell" type="GtkCellRenderer*"/>
+ <parameter name="data" type="gpointer"/>
+ </parameters>
+ </callback>
<callback name="GtkSourceViewMarkTooltipFunc">
<return-type type="gchar*"/>
<parameters>
@@ -30,18 +48,34 @@
<parameter name="user_data" type="gpointer"/>
</parameters>
</callback>
+ <enum name="GtkSourceCompletionError"
type-name="GtkSourceCompletionError"
get-type="gtk_source_completion_error_get_type">
+ <member name="GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND"
value="0"/>
+ <member name="GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND"
value="1"/>
+ </enum>
<enum name="GtkSourceSmartHomeEndType"
type-name="GtkSourceSmartHomeEndType"
get-type="gtk_source_smart_home_end_type_get_type">
<member name="GTK_SOURCE_SMART_HOME_END_DISABLED" value="0"/>
<member name="GTK_SOURCE_SMART_HOME_END_BEFORE" value="1"/>
<member name="GTK_SOURCE_SMART_HOME_END_AFTER" value="2"/>
<member name="GTK_SOURCE_SMART_HOME_END_ALWAYS" value="3"/>
</enum>
+ <enum name="GtkSourceViewGutterPosition"
type-name="GtkSourceViewGutterPosition"
get-type="gtk_source_view_gutter_position_get_type">
+ <member name="GTK_SOURCE_VIEW_GUTTER_POSITION_LINES"
value="-30"/>
+ <member name="GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS"
value="-20"/>
+ </enum>
+ <flags name="GtkSourceCompletionActivation"
type-name="GtkSourceCompletionActivation"
get-type="gtk_source_completion_activation_get_type">
+ <member name="GTK_SOURCE_COMPLETION_ACTIVATION_NONE"
value="0"/>
+ <member name="GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE"
value="1"/>
+ <member
name="GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED" value="2"/>
+ </flags>
<flags name="GtkSourceDrawSpacesFlags"
type-name="GtkSourceDrawSpacesFlags"
get-type="gtk_source_draw_spaces_flags_get_type">
<member name="GTK_SOURCE_DRAW_SPACES_SPACE" value="1"/>
<member name="GTK_SOURCE_DRAW_SPACES_TAB" value="2"/>
<member name="GTK_SOURCE_DRAW_SPACES_NEWLINE" value="4"/>
<member name="GTK_SOURCE_DRAW_SPACES_NBSP" value="8"/>
- <member name="GTK_SOURCE_DRAW_SPACES_ALL" value="15"/>
+ <member name="GTK_SOURCE_DRAW_SPACES_LEADING" value="16"/>
+ <member name="GTK_SOURCE_DRAW_SPACES_TEXT" value="32"/>
+ <member name="GTK_SOURCE_DRAW_SPACES_TRAILING" value="64"/>
+ <member name="GTK_SOURCE_DRAW_SPACES_ALL" value="127"/>
</flags>
<flags name="GtkSourceSearchFlags"
type-name="GtkSourceSearchFlags"
get-type="gtk_source_search_flags_get_type">
<member name="GTK_SOURCE_SEARCH_VISIBLE_ONLY" value="1"/>
@@ -243,6 +277,371 @@
</parameters>
</signal>
</object>
+ <object name="GtkSourceCompletion" parent="GtkObject"
type-name="GtkSourceCompletion" get-type="gtk_source_completion_get_type">
+ <method name="add_provider"
symbol="gtk_source_completion_add_provider">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="create_context"
symbol="gtk_source_completion_create_context">
+ <return-type type="GtkSourceCompletionContext*"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="position" type="GtkTextIter*"/>
+ </parameters>
+ </method>
+ <method name="error_quark"
symbol="gtk_source_completion_error_quark">
+ <return-type type="GQuark"/>
+ </method>
+ <method name="get_info_window"
symbol="gtk_source_completion_get_info_window">
+ <return-type type="GtkSourceCompletionInfo*"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </method>
+ <method name="get_providers"
symbol="gtk_source_completion_get_providers">
+ <return-type type="GList*"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </method>
+ <method name="get_view"
symbol="gtk_source_completion_get_view">
+ <return-type type="struct _GtkSourceView*"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </method>
+ <method name="hide" symbol="gtk_source_completion_hide">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </method>
+ <method name="move_window"
symbol="gtk_source_completion_move_window">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </method>
+ <method name="remove_provider"
symbol="gtk_source_completion_remove_provider">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
+ <method name="show" symbol="gtk_source_completion_show">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="providers" type="GList*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </method>
+ <property name="accelerators" type="guint" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="auto-complete-delay" type="guint"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="proposal-page-size" type="guint"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="provider-page-size" type="guint"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="remember-info-visibility" type="gboolean"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="select-on-show" type="gboolean"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="show-headers" type="gboolean" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="view" type="GtkSourceView*" readable="1"
writable="1" construct="0" construct-only="1"/>
+ <signal name="activate-proposal" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </signal>
+ <signal name="hide" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </signal>
+ <signal name="move-cursor" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="step" type="GtkScrollStep"/>
+ <parameter name="num" type="gint"/>
+ </parameters>
+ </signal>
+ <signal name="move-page" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="step" type="GtkScrollStep"/>
+ <parameter name="num" type="gint"/>
+ </parameters>
+ </signal>
+ <signal name="populate-context" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </signal>
+ <signal name="show" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ </parameters>
+ </signal>
+ <vfunc name="proposal_activated">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="completion"
type="GtkSourceCompletion*"/>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ </object>
+ <object name="GtkSourceCompletionContext"
parent="GInitiallyUnowned" type-name="GtkSourceCompletionContext"
get-type="gtk_source_completion_context_get_type">
+ <method name="add_proposals"
symbol="gtk_source_completion_context_add_proposals">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ <parameter name="provider" type="struct
_GtkSourceCompletionProvider*"/>
+ <parameter name="proposals" type="GList*"/>
+ <parameter name="finished" type="gboolean"/>
+ </parameters>
+ </method>
+ <method name="get_activation"
symbol="gtk_source_completion_context_get_activation">
+ <return-type type="GtkSourceCompletionActivation"/>
+ <parameters>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </method>
+ <method name="get_iter"
symbol="gtk_source_completion_context_get_iter">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </method>
+ <method name="get_view"
symbol="gtk_source_completion_context_get_view">
+ <return-type type="struct _GtkSourceView*"/>
+ <parameters>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </method>
+ <property name="activation"
type="GtkSourceCompletionActivation" readable="1" writable="1"
construct="0" construct-only="0"/>
+ <property name="completion" type="GtkSourceCompletion*"
readable="1" writable="1" construct="0" construct-only="1"/>
+ <property name="iter" type="gpointer" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <property name="view" type="GtkSourceView*" readable="1"
writable="0" construct="0" construct-only="0"/>
+ <signal name="cancelled" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </signal>
+ </object>
+ <object name="GtkSourceCompletionInfo" parent="GtkWindow"
type-name="GtkSourceCompletionInfo"
get-type="gtk_source_completion_info_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ </implements>
+ <method name="get_widget"
symbol="gtk_source_completion_info_get_widget">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ </parameters>
+ </method>
+ <method name="move_to_iter"
symbol="gtk_source_completion_info_move_to_iter">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ <parameter name="view" type="GtkTextView*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </method>
+ <constructor name="new"
symbol="gtk_source_completion_info_new">
+ <return-type type="GtkSourceCompletionInfo*"/>
+ </constructor>
+ <method name="process_resize"
symbol="gtk_source_completion_info_process_resize">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ </parameters>
+ </method>
+ <method name="set_sizing"
symbol="gtk_source_completion_info_set_sizing">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ <parameter name="width" type="gint"/>
+ <parameter name="height" type="gint"/>
+ <parameter name="shrink_width" type="gboolean"/>
+ <parameter name="shrink_height" type="gboolean"/>
+ </parameters>
+ </method>
+ <method name="set_widget"
symbol="gtk_source_completion_info_set_widget">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ <parameter name="widget" type="GtkWidget*"/>
+ </parameters>
+ </method>
+ <property name="max-height" type="gint" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="max-width" type="gint" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="shrink-height" type="gboolean" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="shrink-width" type="gboolean" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <signal name="before-show" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ </parameters>
+ </signal>
+ </object>
+ <object name="GtkSourceCompletionItem" parent="GObject"
type-name="GtkSourceCompletionItem"
get-type="gtk_source_completion_item_get_type">
+ <implements>
+ <interface name="GtkSourceCompletionProposal"/>
+ </implements>
+ <constructor name="new"
symbol="gtk_source_completion_item_new">
+ <return-type type="GtkSourceCompletionItem*"/>
+ <parameters>
+ <parameter name="label" type="gchar*"/>
+ <parameter name="text" type="gchar*"/>
+ <parameter name="icon" type="GdkPixbuf*"/>
+ <parameter name="info" type="gchar*"/>
+ </parameters>
+ </constructor>
+ <constructor name="new_from_stock"
symbol="gtk_source_completion_item_new_from_stock">
+ <return-type type="GtkSourceCompletionItem*"/>
+ <parameters>
+ <parameter name="label" type="gchar*"/>
+ <parameter name="text" type="gchar*"/>
+ <parameter name="stock" type="gchar*"/>
+ <parameter name="info" type="gchar*"/>
+ </parameters>
+ </constructor>
+ <constructor name="new_with_markup"
symbol="gtk_source_completion_item_new_with_markup">
+ <return-type type="GtkSourceCompletionItem*"/>
+ <parameters>
+ <parameter name="markup" type="gchar*"/>
+ <parameter name="text" type="gchar*"/>
+ <parameter name="icon" type="GdkPixbuf*"/>
+ <parameter name="info" type="gchar*"/>
+ </parameters>
+ </constructor>
+ <property name="icon" type="GdkPixbuf*" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <property name="info" type="char*" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <property name="label" type="char*" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <property name="markup" type="char*" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <property name="text" type="char*" readable="1"
writable="1" construct="0" construct-only="0"/>
+ </object>
+ <object name="GtkSourceCompletionWords" parent="GObject"
type-name="GtkSourceCompletionWords"
get-type="gtk_source_completion_words_get_type">
+ <implements>
+ <interface name="GtkSourceCompletionProvider"/>
+ </implements>
+ <constructor name="new"
symbol="gtk_source_completion_words_new">
+ <return-type type="GtkSourceCompletionWords*"/>
+ <parameters>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="icon" type="GdkPixbuf*"/>
+ </parameters>
+ </constructor>
+ <method name="register"
symbol="gtk_source_completion_words_register">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="words"
type="GtkSourceCompletionWords*"/>
+ <parameter name="buffer" type="GtkTextBuffer*"/>
+ </parameters>
+ </method>
+ <method name="unregister"
symbol="gtk_source_completion_words_unregister">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="words"
type="GtkSourceCompletionWords*"/>
+ <parameter name="buffer" type="GtkTextBuffer*"/>
+ </parameters>
+ </method>
+ <property name="icon" type="GdkPixbuf*" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="minimum-word-size" type="guint"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="name" type="char*" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="proposals-batch-size" type="guint"
readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="scan-batch-size" type="guint" readable="1"
writable="1" construct="1" construct-only="0"/>
+ </object>
+ <object name="GtkSourceGutter" parent="GObject"
type-name="GtkSourceGutter" get-type="gtk_source_gutter_get_type">
+ <method name="get_window"
symbol="gtk_source_gutter_get_window">
+ <return-type type="GdkWindow*"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ </parameters>
+ </method>
+ <method name="insert" symbol="gtk_source_gutter_insert">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ <parameter name="position" type="gint"/>
+ </parameters>
+ </method>
+ <method name="queue_draw"
symbol="gtk_source_gutter_queue_draw">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ </parameters>
+ </method>
+ <method name="remove" symbol="gtk_source_gutter_remove">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ </parameters>
+ </method>
+ <method name="reorder" symbol="gtk_source_gutter_reorder">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ <parameter name="position" type="gint"/>
+ </parameters>
+ </method>
+ <method name="set_cell_data_func"
symbol="gtk_source_gutter_set_cell_data_func">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ <parameter name="func" type="GtkSourceGutterDataFunc"/>
+ <parameter name="func_data" type="gpointer"/>
+ <parameter name="destroy" type="GDestroyNotify"/>
+ </parameters>
+ </method>
+ <method name="set_cell_size_func"
symbol="gtk_source_gutter_set_cell_size_func">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ <parameter name="func" type="GtkSourceGutterSizeFunc"/>
+ <parameter name="func_data" type="gpointer"/>
+ <parameter name="destroy" type="GDestroyNotify"/>
+ </parameters>
+ </method>
+ <property name="view" type="GtkSourceView*" readable="1"
writable="1" construct="0" construct-only="1"/>
+ <property name="window-type" type="GtkTextWindowType"
readable="1" writable="1" construct="0" construct-only="1"/>
+ <signal name="cell-activated" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ <parameter name="event" type="gpointer"/>
+ </parameters>
+ </signal>
+ <signal name="query-tooltip" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="gutter" type="GtkSourceGutter*"/>
+ <parameter name="renderer" type="GtkCellRenderer*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ <parameter name="tooltip" type="GtkTooltip*"/>
+ </parameters>
+ </signal>
+ </object>
<object name="GtkSourceLanguage" parent="GObject"
type-name="GtkSourceLanguage" get-type="gtk_source_language_get_type">
<method name="get_globs"
symbol="gtk_source_language_get_globs">
<return-type type="gchar**"/>
@@ -780,12 +1179,25 @@
<parameter name="view" type="GtkSourceView*"/>
</parameters>
</method>
+ <method name="get_completion"
symbol="gtk_source_view_get_completion">
+ <return-type type="GtkSourceCompletion*"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ </parameters>
+ </method>
<method name="get_draw_spaces"
symbol="gtk_source_view_get_draw_spaces">
<return-type type="GtkSourceDrawSpacesFlags"/>
<parameters>
<parameter name="view" type="GtkSourceView*"/>
</parameters>
</method>
+ <method name="get_gutter" symbol="gtk_source_view_get_gutter">
+ <return-type type="GtkSourceGutter*"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ <parameter name="window_type"
type="GtkTextWindowType"/>
+ </parameters>
+ </method>
<method name="get_highlight_current_line"
symbol="gtk_source_view_get_highlight_current_line">
<return-type type="gboolean"/>
<parameters>
@@ -927,6 +1339,30 @@
<parameter name="color" type="GdkColor*"/>
</parameters>
</method>
+ <method name="set_mark_category_icon_from_icon_name"
symbol="gtk_source_view_set_mark_category_icon_from_icon_name">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ <parameter name="category" type="gchar*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_mark_category_icon_from_pixbuf"
symbol="gtk_source_view_set_mark_category_icon_from_pixbuf">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ <parameter name="category" type="gchar*"/>
+ <parameter name="pixbuf" type="GdkPixbuf*"/>
+ </parameters>
+ </method>
+ <method name="set_mark_category_icon_from_stock"
symbol="gtk_source_view_set_mark_category_icon_from_stock">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ <parameter name="category" type="gchar*"/>
+ <parameter name="stock_id" type="gchar*"/>
+ </parameters>
+ </method>
<method name="set_mark_category_pixbuf"
symbol="gtk_source_view_set_mark_category_pixbuf">
<return-type type="void"/>
<parameters>
@@ -1006,6 +1442,7 @@
</parameters>
</method>
<property name="auto-indent" type="gboolean" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <property name="completion" type="GtkSourceCompletion*"
readable="1" writable="0" construct="0" construct-only="0"/>
<property name="draw-spaces"
type="GtkSourceDrawSpacesFlags" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="highlight-current-line" type="gboolean"
readable="1" writable="1" construct="0" construct-only="0"/>
<property name="indent-on-tab" type="gboolean" readable="1"
writable="1" construct="0" construct-only="0"/>
@@ -1017,12 +1454,26 @@
<property name="show-right-margin" type="gboolean"
readable="1" writable="1" construct="0" construct-only="0"/>
<property name="smart-home-end"
type="GtkSourceSmartHomeEndType" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="tab-width" type="guint" readable="1"
writable="1" construct="0" construct-only="0"/>
+ <signal name="line-mark-activated" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ <parameter name="event" type="gpointer"/>
+ </parameters>
+ </signal>
<signal name="redo" when="LAST">
<return-type type="void"/>
<parameters>
<parameter name="view" type="GtkSourceView*"/>
</parameters>
</signal>
+ <signal name="show-completion" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="view" type="GtkSourceView*"/>
+ </parameters>
+ </signal>
<signal name="undo" when="LAST">
<return-type type="void"/>
<parameters>
@@ -1030,5 +1481,243 @@
</parameters>
</signal>
</object>
+ <interface name="GtkSourceCompletionProposal"
type-name="GtkSourceCompletionProposal"
get-type="gtk_source_completion_proposal_get_type">
+ <requires>
+ <interface name="GObject"/>
+ </requires>
+ <method name="changed"
symbol="gtk_source_completion_proposal_changed">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="equal"
symbol="gtk_source_completion_proposal_equal">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="other"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="get_icon"
symbol="gtk_source_completion_proposal_get_icon">
+ <return-type type="GdkPixbuf*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="get_info"
symbol="gtk_source_completion_proposal_get_info">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="get_label"
symbol="gtk_source_completion_proposal_get_label">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="get_markup"
symbol="gtk_source_completion_proposal_get_markup">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="get_text"
symbol="gtk_source_completion_proposal_get_text">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="hash"
symbol="gtk_source_completion_proposal_hash">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <signal name="changed" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </signal>
+ <vfunc name="equal">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="other"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_icon">
+ <return-type type="GdkPixbuf*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_info">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_label">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_markup">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_text">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="hash">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ </interface>
+ <interface name="GtkSourceCompletionProvider"
type-name="GtkSourceCompletionProvider"
get-type="gtk_source_completion_provider_get_type">
+ <requires>
+ <interface name="GObject"/>
+ </requires>
+ <method name="activate_proposal"
symbol="gtk_source_completion_provider_activate_proposal">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </method>
+ <method name="get_activation"
symbol="gtk_source_completion_provider_get_activation">
+ <return-type type="GtkSourceCompletionActivation"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ </parameters>
+ </method>
+ <method name="get_icon"
symbol="gtk_source_completion_provider_get_icon">
+ <return-type type="GdkPixbuf*"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ </parameters>
+ </method>
+ <method name="get_info_widget"
symbol="gtk_source_completion_provider_get_info_widget">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </method>
+ <method name="get_name"
symbol="gtk_source_completion_provider_get_name">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ </parameters>
+ </method>
+ <method name="get_start_iter"
symbol="gtk_source_completion_provider_get_start_iter">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </method>
+ <method name="match"
symbol="gtk_source_completion_provider_match">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </method>
+ <method name="populate"
symbol="gtk_source_completion_provider_populate">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </method>
+ <method name="update_info"
symbol="gtk_source_completion_provider_update_info">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ </parameters>
+ </method>
+ <vfunc name="activate_proposal">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_activation">
+ <return-type type="GtkSourceCompletionActivation"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_icon">
+ <return-type type="GdkPixbuf*"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_info_widget">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_name">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_start_iter">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="iter" type="GtkTextIter*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="match">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="populate">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="context"
type="GtkSourceCompletionContext*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="update_info">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="provider"
type="GtkSourceCompletionProvider*"/>
+ <parameter name="proposal"
type="GtkSourceCompletionProposal*"/>
+ <parameter name="info"
type="GtkSourceCompletionInfo*"/>
+ </parameters>
+ </vfunc>
+ </interface>
+ <constant name="GTK_SOURCE_COMPLETION_CAPABILITY_AUTOMATIC"
type="char*" value="standard::automatic"/>
+ <constant name="GTK_SOURCE_COMPLETION_CAPABILITY_INTERACTIVE"
type="char*" value="standard::interactive"/>
</namespace>
</api>
See you,
Nicolas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]