[gtksourceviewmm] Updated defs and docs files.



commit 36ea48814ee1b19d63e5b4170ffc2cabb92e8ad5
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Wed Feb 24 08:36:02 2010 +0100

    Updated defs and docs files.
    
    * gtksourceview/src/gtksourceview_docs.xml:
    * gtksourceview/src/gtksourceview_methods.defs:
    * gtksourceview/src/gtksourceview_others.defs:
    * gtksourceview/src/gtksourceview_signals.defs: Regenerated.
    * gtksourceview/src/gtksourceview_vfuncs.defs: Written vfuncs defs.
    * gtksourceview/src/gtksourceview.defs: Included new vfuncs defs
    file.

 gtksourceview/src/gtksourceview.defs         |    1 +
 gtksourceview/src/gtksourceview_docs.xml     |  472 ++++++---
 gtksourceview/src/gtksourceview_methods.defs |   88 ++-
 gtksourceview/src/gtksourceview_others.defs  |    9 -
 gtksourceview/src/gtksourceview_signals.defs | 1628 +++++++++++++-------------
 gtksourceview/src/gtksourceview_vfuncs.defs  |  119 ++
 6 files changed, 1358 insertions(+), 959 deletions(-)
---
diff --git a/gtksourceview/src/gtksourceview.defs b/gtksourceview/src/gtksourceview.defs
index 4884b64..3d866dd 100644
--- a/gtksourceview/src/gtksourceview.defs
+++ b/gtksourceview/src/gtksourceview.defs
@@ -2,3 +2,4 @@
 (include gtksourceview_enums.defs)
 (include gtksourceview_signals.defs)
 (include gtksourceview_others.defs)
+(include gtksourceview_vfuncs.defs)
diff --git a/gtksourceview/src/gtksourceview_docs.xml b/gtksourceview/src/gtksourceview_docs.xml
index b81819d..c94f832 100644
--- a/gtksourceview/src/gtksourceview_docs.xml
+++ b/gtksourceview/src/gtksourceview_docs.xml
@@ -96,6 +96,29 @@ Since: 2.2
 </return>
 </function>
 
+<function name="gtk_source_view_get_mark_category_priority">
+<description>
+Gets the priority which is associated with the given @category.
+
+
+</description>
+<parameters>
+<parameter name="view">
+<parameter_description> a #GtkSourceView.
+</parameter_description>
+</parameter>
+<parameter name="category">
+<parameter_description> a mark category.
+</parameter_description>
+</parameter>
+</parameters>
+<return> the priority or if @category
+exists but no priority was set, it defaults to 0.
+
+Since: 2.2
+</return>
+</function>
+
 <function name="idle_worker">
 <description>
 @ce: #GtkSourceContextEngine.
@@ -187,7 +210,8 @@ See gtk_source_style_scheme_manager_set_search_path() for details.
 <function name="gtk_source_completion_provider_get_name">
 <description>
 Get the name of the provider. This should be a translatable name for
-display to the user. For example: _(&quot;Document word completion provider&quot;).
+display to the user. For example: _(&quot;Document word completion provider&quot;). The
+returned string must be freed with g_free().
 
 
 </description>
@@ -197,7 +221,7 @@ display to the user. For example: _(&quot;Document word completion provider&quot
 </parameter_description>
 </parameter>
 </parameters>
-<return> The name of the provider.
+<return> A new string containing the name of the provider.
 </return>
 </function>
 
@@ -511,6 +535,25 @@ Since: 2.2
 </return>
 </function>
 
+<function name="gtk_source_undo_manager_begin_not_undoable_action">
+<description>
+Begin a not undoable action on the buffer. All changes between this call
+and the call to #gtk_source_undo_manager_end_not_undoable_action cannot
+be undone. This function should be re-entrant.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="ancestor_context_ends_here">
 <description>
 @state: current context.
@@ -561,28 +604,6 @@ Hides the completion if it is active (visible).
 <return></return>
 </function>
 
-<function name="gtk_source_undo_manager_merge_action">
-<description>
-This function tries to merge the undo action at the top of
-the stack with a new undo action. So when we undo for example
-typing, we can undo the whole word and not each letter by itself.
-
-
-</description>
-<parameters>
-<parameter name="um">
-<parameter_description> a #GtkSourceUndoManager.
-</parameter_description>
-</parameter>
-<parameter name="undo_action">
-<parameter_description> a #GtkSourceUndoAction.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE is merge was sucessful, %FALSE otherwise.
-</return>
-</function>
-
 <function name="GtkSourceView">
 <description>
 Emitted when a line mark has been activated (for instance when there 
@@ -651,22 +672,45 @@ Since: 2.2
 <return></return>
 </function>
 
-<function name="gtk_source_style_scheme_manager_force_rescan">
+<function name="gtk_source_undo_manager_undo">
 <description>
-Mark any currently cached information about the available style scehems
-as invalid. All the available style schemes will be reloaded next time
-the @manager is accessed.
+Perform a single undo. Calling this function when there are no undo operations
+available is an error. Use #gtk_source_undo_manager_can_undo to find out
+if there are undo operations available.
+
+Since: 2.10
+
 
 </description>
 <parameters>
 <parameter name="manager">
-<parameter_description> a #GtkSourceStyleSchemeManager
+<parameter_description> A #GtkSourceUndoManager
 </parameter_description>
 </parameter>
 </parameters>
 <return></return>
 </function>
 
+<function name="ancestor_ends_here">
+<description>
+ state: current state.
+ line: the line to analyze.
+ line_pos: the position inside @line, bytes.
+ new_state: where to store the new state.
+
+Verifies if some ancestor context ends at given position. If
+state changed and @new_state is not %NULL, then the new state is stored
+in @new_state, and descendants of @new_state are closed, so the
+terminating segment becomes current state.
+
+
+</description>
+<parameters>
+</parameters>
+<return> %TRUE if an ancestor ends at the given position.
+</return>
+</function>
+
 <function name="_gtk_source_style_scheme_new">
 <description>
 
@@ -790,26 +834,20 @@ text.
 </return>
 </function>
 
-<function name="gtk_source_view_get_mark_category_priority">
+<function name="gtk_source_buffer_get_undo_manager">
 <description>
-Gets the priority which is associated with the given @category.
+Get the undo manager associated with the buffer.
 
 
 </description>
 <parameters>
-<parameter name="view">
-<parameter_description> a #GtkSourceView.
-</parameter_description>
-</parameter>
-<parameter name="category">
-<parameter_description> a mark category.
+<parameter name="buffer">
+<parameter_description> A #GtkSourceBuffer
 </parameter_description>
 </parameter>
 </parameters>
-<return> the priority or if @category
-exists but no priority was set, it defaults to 0.
+<return> A #GtkSourceUndoManager
 
-Since: 2.2
 </return>
 </function>
 
@@ -1036,24 +1074,19 @@ subpatterns list.
 </return>
 </function>
 
-<function name="gtk_source_print_compositor_get_highlight_syntax">
+<function name="GtkSourceBuffer">
 <description>
-Determines whether the printed text will be highlighted according to the
-buffer rules.  Note that highlighting will happen
-only if the buffer to print has highlighting activated.
-
+The ::source_mark_updated signal is emitted each time
+a mark is added to, moved or removed from the @buffer.
 
 </description>
 <parameters>
-<parameter name="compositor">
-<parameter_description> a #GtkSourcePrintCompositor.
+<parameter name="buffer">
+<parameter_description> the buffer that received the signal
 </parameter_description>
 </parameter>
 </parameters>
-<return> %TRUE if the printed output will be highlighted.
-
-Since: 2.2
-</return>
+<return></return>
 </function>
 
 <function name="get_invalid_segment">
@@ -2394,23 +2427,25 @@ you have to call this function right after creating it.
 <return></return>
 </function>
 
-<function name="ancestor_ends_here">
+<function name="gtk_source_undo_manager_default_merge_action">
 <description>
- state: current state.
- line: the line to analyze.
- line_pos: the position inside @line, bytes.
- new_state: where to store the new state.
-
-Verifies if some ancestor context ends at given position. If
-state changed and @new_state is not %NULL, then the new state is stored
-in @new_state, and descendants of @new_state are closed, so the
-terminating segment becomes current state.
+This function tries to merge the undo action at the top of
+the stack with a new undo action. So when we undo for example
+typing, we can undo the whole word and not each letter by itself.
 
 
 </description>
 <parameters>
+<parameter name="um">
+<parameter_description> a #GtkSourceUndoManagerDefault.
+</parameter_description>
+</parameter>
+<parameter name="undo_action">
+<parameter_description> a #GtkSourceUndoAction.
+</parameter_description>
+</parameter>
 </parameters>
-<return> %TRUE if an ancestor ends at the given position.
+<return> %TRUE is merge was sucessful, %FALSE otherwise.
 </return>
 </function>
 
@@ -2740,6 +2775,25 @@ or modified.
 </return>
 </function>
 
+<function name="gtk_source_undo_manager_redo">
+<description>
+Perform a single redo. Calling this function when there are no redo operations
+available is an error. Use #gtk_source_undo_manager_can_redo to find out
+if there are redo operations available.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_source_view_set_smart_home_end">
 <description>
 Set the desired movement of the cursor when HOME and END keys
@@ -3387,6 +3441,23 @@ function only notifies the view).
 <return></return>
 </function>
 
+<function name="gtk_source_undo_manager_end_not_undoable_action">
+<description>
+Ends a not undoable action on the buffer.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="GtkSourceMark">
 <description>
 The category of the #GtkSourceMark, classifies the mark and controls
@@ -3960,6 +4031,22 @@ Sets current style scheme, updates tag styles and everything.
 <return></return>
 </function>
 
+<function name="gtk_source_style_scheme_manager_force_rescan">
+<description>
+Mark any currently cached information about the available style scehems
+as invalid. All the available style schemes will be reloaded next time
+the @manager is accessed.
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkSourceStyleSchemeManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_source_buffer_get_source_marks_at_line">
 <description>
 Returns: a newly allocated #GSList.
@@ -4085,6 +4172,23 @@ Creates a new #GtkSourceView widget displaying the buffer
 </return>
 </function>
 
+<function name="gtk_source_undo_manager_can_redo_changed">
+<description>
+Emits the #GtkSourceUndoManager::can-redo-changed signal.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="_gtk_source_buffer_update_highlight">
 <description>
 Asks the buffer to analyze and highlight given area.
@@ -4146,7 +4250,7 @@ Since: 2.10
 Gets the text of @proposal. The text that is inserted into
 the text buffer when the proposal is activated by the default activation.
 You are free to implement a custom activation handler in the provider and
-not implement this function.
+not implement this function. The returned string must be freed with g_free().
 
 
 </description>
@@ -4156,36 +4260,61 @@ not implement this function.
 </parameter_description>
 </parameter>
 </parameters>
-<return> The text of @proposal.
+<return> A new string containing the text of @proposal.
 </return>
 </function>
 
-<function name="gtk_source_completion_item_new_from_stock">
+<function name="gtk_source_undo_manager_can_redo">
 <description>
-Creates a new #GtkSourceCompletionItem from a stock item. If @label is %NULL, 
-the stock label will be used.
+Get whether there are redo operations available.
+
+Since: 2.10
 
 
 </description>
 <parameters>
-<parameter name="label">
-<parameter_description> The item label
-</parameter_description>
-</parameter>
-<parameter name="text">
-<parameter_description> The item text
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
 </parameter_description>
 </parameter>
-<parameter name="stock">
-<parameter_description> The stock icon
+</parameters>
+<return> %TRUE if there are redo operations available, %FALSE otherwise
+
+</return>
+</function>
+
+<function name="gtk_source_undo_manager_can_undo_changed">
+<description>
+Emits the #GtkSourceUndoManager::can-undo-changed signal.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
 </parameter_description>
 </parameter>
-<parameter name="info">
-<parameter_description> The item extra information
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_source_undo_manager_can_undo">
+<description>
+Get whether there are undo operations available.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
 </parameter_description>
 </parameter>
 </parameters>
-<return> the newly constructed #GtkSourceCompletionItem.
+<return> %TRUE if there are undo operations available, %FALSE otherwise
 
 </return>
 </function>
@@ -4451,23 +4580,6 @@ There is no return value, it always succeeds (or crashes).
 <return></return>
 </function>
 
-<function name="gtk_source_completion_context_get_view">
-<description>
-Get the #GtkSourceView to which the context applies
-
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> A #GtkSourceCompletionContext
-</parameter_description>
-</parameter>
-</parameters>
-<return> A #GtkSourceView
-
-</return>
-</function>
-
 <function name="child_starts_here">
 <description>
 @ce: the engine.
@@ -4756,6 +4868,26 @@ arguments.
 </return>
 </function>
 
+<function name="gtk_source_buffer_set_undo_manager">
+<description>
+Set the buffer undo manager. If @manager is %NULL the default undo manager
+will be set.
+
+
+</description>
+<parameters>
+<parameter name="buffer">
+<parameter_description> A #GtkSourceBuffer
+</parameter_description>
+</parameter>
+<parameter name="manager">
+<parameter_description> A #GtkSourceUndoManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="highlight_region">
 <description>
 @ce: a #GtkSourceContextEngine.
@@ -5005,20 +5137,29 @@ Since: 2.2
 <return></return>
 </function>
 
-<function name="gtk_source_gutter_remove">
+<function name="gtk_source_buffer_set_max_undo_levels">
 <description>
-Removes @renderer from @gutter.
+Sets the number of undo levels for user actions the buffer will
+track.  If the number of user actions exceeds the limit set by this
+function, older actions will be discarded.
 
-Since: 2.8
+If @max_undo_levels is -1, no limit is set.
+
+A new action is started whenever the function
+gtk_text_buffer_begin_user_action() is called.  In general, this
+happens whenever the user presses any key which modifies the
+buffer, but the undo manager will try to merge similar consecutive
+actions, such as multiple character insertions into one action.
+But, inserting a newline does start a new action.
 
 </description>
 <parameters>
-<parameter name="gutter">
-<parameter_description> a #GtkSourceGutter
+<parameter name="buffer">
+<parameter_description> a #GtkSourceBuffer.
 </parameter_description>
 </parameter>
-<parameter name="renderer">
-<parameter_description> a #GtkCellRenderer
+<parameter name="max_undo_levels">
+<parameter_description> the desired maximum number of undo levels.
 </parameter_description>
 </parameter>
 </parameters>
@@ -5059,6 +5200,26 @@ Since: 2.2
 <return></return>
 </function>
 
+<function name="gtk_source_print_compositor_get_highlight_syntax">
+<description>
+Determines whether the printed text will be highlighted according to the
+buffer rules.  Note that highlighting will happen
+only if the buffer to print has highlighting activated.
+
+
+</description>
+<parameters>
+<parameter name="compositor">
+<parameter_description> a #GtkSourcePrintCompositor.
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the printed output will be highlighted.
+
+Since: 2.2
+</return>
+</function>
+
 <function name="gtk_source_view_set_tab_width">
 <description>
 Sets the width of tabulation in characters.
@@ -5096,7 +5257,8 @@ segments never become valid).
 <description>
 Gets the label of @proposal with markup. The label is shown in the list of 
 proposals and may contain markup. This will be used instead of
-#gtk_source_completion_proposal_get_label if implemented.
+#gtk_source_completion_proposal_get_label if implemented. The returned string
+must be freed with g_free().
 
 
 </description>
@@ -5106,7 +5268,7 @@ proposals and may contain markup. This will be used instead of
 </parameter_description>
 </parameter>
 </parameters>
-<return> The label of @proposal with markup.
+<return> A new string containing the label of @proposal with markup.
 </return>
 </function>
 
@@ -5193,7 +5355,7 @@ text editor).
 <description>
 Gets extra information associated to the proposal. This information will be
 used to present the user with extra, detailed information about the
-selected proposal.
+selected proposal. The returned string must be freed with g_free().
 
 
 </description>
@@ -5203,8 +5365,8 @@ selected proposal.
 </parameter_description>
 </parameter>
 </parameters>
-<return> The extra information of @proposal or %NULL if no extra information
-is associated to @proposal.
+<return> A new string containing extra information of @proposal or %NULL if
+no extra information is associated to @proposal.
 </return>
 </function>
 
@@ -5271,6 +5433,36 @@ again.
 <return></return>
 </function>
 
+<function name="gtk_source_completion_item_new_from_stock">
+<description>
+Creates a new #GtkSourceCompletionItem from a stock item. If @label is %NULL, 
+the stock label will be used.
+
+
+</description>
+<parameters>
+<parameter name="label">
+<parameter_description> The item label
+</parameter_description>
+</parameter>
+<parameter name="text">
+<parameter_description> The item text
+</parameter_description>
+</parameter>
+<parameter name="stock">
+<parameter_description> The stock icon
+</parameter_description>
+</parameter>
+<parameter name="info">
+<parameter_description> The item extra information
+</parameter_description>
+</parameter>
+</parameters>
+<return> the newly constructed #GtkSourceCompletionItem.
+
+</return>
+</function>
+
 <function name="gtk_source_completion_info_move_to_iter">
 <description>
 Moves the #GtkSourceCompletionInfo to @iter. If @iter is %NULL @info is 
@@ -5673,6 +5865,23 @@ If @dirs is %NULL, the search path is reset to default.
 <return></return>
 </function>
 
+<function name="GtkSourceUndoManager">
+<description>
+Emitted when the ability to redo has changed.
+
+Since: 2.10
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> The #GtkSourceUndoManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="segment_add_subpattern">
 <description>
 @state: the segment.
@@ -5804,35 +6013,6 @@ Called from GtkTextBuffer::delete_range.
 <return></return>
 </function>
 
-<function name="gtk_source_buffer_set_max_undo_levels">
-<description>
-Sets the number of undo levels for user actions the buffer will
-track.  If the number of user actions exceeds the limit set by this
-function, older actions will be discarded.
-
-If @max_undo_levels is -1, no limit is set.
-
-A new action is started whenever the function
-gtk_text_buffer_begin_user_action() is called.  In general, this
-happens whenever the user presses any key which modifies the
-buffer, but the undo manager will try to merge similar consecutive
-actions, such as multiple character insertions into one action.
-But, inserting a newline does start a new action.
-
-</description>
-<parameters>
-<parameter name="buffer">
-<parameter_description> a #GtkSourceBuffer.
-</parameter_description>
-</parameter>
-<parameter name="max_undo_levels">
-<parameter_description> the desired maximum number of undo levels.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gtk_source_completion_utils_replace_current_word">
 <description>
 Replaces the current word in the #GtkSourceBuffer with the new word
@@ -5889,15 +6069,20 @@ The returned array must be freed with g_strfreev().
 </return>
 </function>
 
-<function name="GtkSourceBuffer">
+<function name="gtk_source_gutter_remove">
 <description>
-The ::source_mark_updated signal is emitted each time
-a mark is added to, moved or removed from the @buffer.
+Removes @renderer from @gutter.
+
+Since: 2.8
 
 </description>
 <parameters>
-<parameter name="buffer">
-<parameter_description> the buffer that received the signal
+<parameter name="gutter">
+<parameter_description> a #GtkSourceGutter
+</parameter_description>
+</parameter>
+<parameter name="renderer">
+<parameter_description> a #GtkCellRenderer
 </parameter_description>
 </parameter>
 </parameters>
@@ -6049,7 +6234,8 @@ references.
 <description>
 Gets the label of @proposal. The label is shown in the list of proposals as
 plain text. If you need any markup (such as bold or italic text), you have
-to implement #gtk_source_completion_proposal_get_markup.
+to implement #gtk_source_completion_proposal_get_markup. The returned string
+must be freed with g_free().
 
 
 </description>
@@ -6059,7 +6245,7 @@ to implement #gtk_source_completion_proposal_get_markup.
 </parameter_description>
 </parameter>
 </parameters>
-<return> The label of @proposal.
+<return> A new string containing the label of @proposal.
 </return>
 </function>
 
diff --git a/gtksourceview/src/gtksourceview_methods.defs b/gtksourceview/src/gtksourceview_methods.defs
index 78bf7b8..5d68167 100644
--- a/gtksourceview/src/gtksourceview_methods.defs
+++ b/gtksourceview/src/gtksourceview_methods.defs
@@ -96,6 +96,12 @@
   (gtype-id "GTK_TYPE_SOURCE_STYLE_SCHEME_MANAGER")
 )
 
+(define-object SourceUndoManager
+  (in-module "Gtk")
+  (c-name "GtkSourceUndoManager")
+  (gtype-id "GTK_TYPE_SOURCE_UNDO_MANAGER")
+)
+
 (define-object SourceView
   (in-module "Gtk")
   (parent "GtkTextView")
@@ -422,6 +428,21 @@
   )
 )
 
+(define-method get_undo_manager
+  (of-object "GtkSourceBuffer")
+  (c-name "gtk_source_buffer_get_undo_manager")
+  (return-type "GtkSourceUndoManager*")
+)
+
+(define-method set_undo_manager
+  (of-object "GtkSourceBuffer")
+  (c-name "gtk_source_buffer_set_undo_manager")
+  (return-type "none")
+  (parameters
+    '("GtkSourceUndoManager*" "manager")
+  )
+)
+
 
 
 ;; From gtksourcecompletioncontext.h
@@ -662,19 +683,19 @@
 (define-method get_label
   (of-object "GtkSourceCompletionProposal")
   (c-name "gtk_source_completion_proposal_get_label")
-  (return-type "const-gchar*")
+  (return-type "gchar*")
 )
 
 (define-method get_markup
   (of-object "GtkSourceCompletionProposal")
   (c-name "gtk_source_completion_proposal_get_markup")
-  (return-type "const-gchar*")
+  (return-type "gchar*")
 )
 
 (define-method get_text
   (of-object "GtkSourceCompletionProposal")
   (c-name "gtk_source_completion_proposal_get_text")
-  (return-type "const-gchar*")
+  (return-type "gchar*")
 )
 
 (define-method get_icon
@@ -686,7 +707,7 @@
 (define-method get_info
   (of-object "GtkSourceCompletionProposal")
   (c-name "gtk_source_completion_proposal_get_info")
-  (return-type "const-gchar*")
+  (return-type "gchar*")
 )
 
 (define-method changed
@@ -722,7 +743,7 @@
 (define-method get_name
   (of-object "GtkSourceCompletionProvider")
   (c-name "gtk_source_completion_provider_get_name")
-  (return-type "const-gchar*")
+  (return-type "gchar*")
 )
 
 (define-method get_icon
@@ -1535,6 +1556,63 @@
 
 
 
+;; From gtksourceundomanager.h
+
+(define-function gtk_source_undo_manager_get_type
+  (c-name "gtk_source_undo_manager_get_type")
+  (return-type "GType")
+)
+
+(define-method can_undo
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_can_undo")
+  (return-type "gboolean")
+)
+
+(define-method can_redo
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_can_redo")
+  (return-type "gboolean")
+)
+
+(define-method undo
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_undo")
+  (return-type "none")
+)
+
+(define-method redo
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_redo")
+  (return-type "none")
+)
+
+(define-method begin_not_undoable_action
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_begin_not_undoable_action")
+  (return-type "none")
+)
+
+(define-method end_not_undoable_action
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_end_not_undoable_action")
+  (return-type "none")
+)
+
+(define-method can_undo_changed
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_can_undo_changed")
+  (return-type "none")
+)
+
+(define-method can_redo_changed
+  (of-object "GtkSourceUndoManager")
+  (c-name "gtk_source_undo_manager_can_redo_changed")
+  (return-type "none")
+)
+
+
+
 ;; From gtksourceview.h
 
 (define-function gtk_source_view_get_type
diff --git a/gtksourceview/src/gtksourceview_others.defs b/gtksourceview/src/gtksourceview_others.defs
index d40ebc8..bb917a8 100644
--- a/gtksourceview/src/gtksourceview_others.defs
+++ b/gtksourceview/src/gtksourceview_others.defs
@@ -1,14 +1,5 @@
 ;; h2def.py does not parse struct _MyStuff as return type properly.
 
-;; From gtksourcecompletioncontext.h
-
-; that got removed recently
-;(define-method get_view
-;  (of-object "GtkSourceCompletionContext")
-;  (c-name "gtk_source_completion_context_get_view")
-;  (return-type "GtkSourceView*")
-;)
-
 ;; From gtksourcecompletion.h
 
 (define-method get_view
diff --git a/gtksourceview/src/gtksourceview_signals.defs b/gtksourceview/src/gtksourceview_signals.defs
index 6da267e..ad288cb 100644
--- a/gtksourceview/src/gtksourceview_signals.defs
+++ b/gtksourceview/src/gtksourceview_signals.defs
@@ -148,311 +148,199 @@
   (construct-only #f)
 )
 
-;; From GtkSourceLanguage
-
-(define-property id
-  (of-object "GtkSourceLanguage")
-  (prop-type "GParamString")
-  (docs "Language id")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-(define-property name
-  (of-object "GtkSourceLanguage")
-  (prop-type "GParamString")
-  (docs "Language name")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-(define-property section
-  (of-object "GtkSourceLanguage")
-  (prop-type "GParamString")
-  (docs "Language section")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-(define-property hidden
-  (of-object "GtkSourceLanguage")
-  (prop-type "GParamBoolean")
-  (docs "Whether the language should be hidden from the user")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-;; From GtkSourceLanguageManager
-
-(define-property search-path
-  (of-object "GtkSourceLanguageManager")
-  (prop-type "GParamBoxed")
-  (docs "List of directories where the language specification files (.lang) are located")
+(define-property undo-manager
+  (of-object "GtkSourceBuffer")
+  (prop-type "GParamObject")
+  (docs "The buffer undo manager")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property language-ids
-  (of-object "GtkSourceLanguageManager")
-  (prop-type "GParamBoxed")
-  (docs "List of the ids of the available languages")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-;; From GtkSourceMark
+;; From GtkSourceCompletion
 
-(define-property name
-  (of-object "GtkSourceMark")
-  (prop-type "GParamString")
-  (docs "Mark name")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
+(define-signal show
+  (of-object "GtkSourceCompletion")
+  (return-type "void")
+  (when "last")
 )
 
-(define-property left-gravity
-  (of-object "GtkSourceMark")
-  (prop-type "GParamBoolean")
-  (docs "Whether the mark has left gravity")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
+(define-signal hide
+  (of-object "GtkSourceCompletion")
+  (return-type "void")
+  (when "last")
 )
 
-(define-property category
-  (of-object "GtkSourceMark")
-  (prop-type "GParamString")
-  (docs "The mark category")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
+(define-signal move-cursor
+  (of-object "GtkSourceCompletion")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("GtkScrollStep" "p0")
+    '("gint" "p1")
+  )
 )
 
-;; From GtkSourceStyle
-
-(define-property line-background
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamString")
-  (docs "Line background color")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
+(define-signal populate-context
+  (of-object "GtkSourceCompletion")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("GtkSourceCompletionContext*" "p0")
+  )
 )
 
-(define-property line-background-set
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Whether line background color is set")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
+(define-signal move-page
+  (of-object "GtkSourceCompletion")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("GtkScrollStep" "p0")
+    '("gint" "p1")
+  )
 )
 
-(define-property background
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamString")
-  (docs "Background color")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
+(define-signal activate-proposal
+  (of-object "GtkSourceCompletion")
+  (return-type "void")
+  (when "last")
 )
 
-(define-property background-set
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Whether background color is set")
+(define-property user-data
+  (of-object "GtkSourceCompletion")
+  (prop-type "GParamPointer")
+  (docs "Anonymous User Data Pointer")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property foreground
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamString")
-  (docs "Foreground color")
+(define-property view
+  (of-object "GtkSourceCompletion")
+  (prop-type "GParamObject")
+  (docs "The GtkSourceView bound to the completion")
   (readable #t)
   (writable #t)
   (construct-only #t)
 )
 
-(define-property foreground-set
-  (of-object "GtkSourceStyle")
+(define-property remember-info-visibility
+  (of-object "GtkSourceCompletion")
   (prop-type "GParamBoolean")
-  (docs "Whether foreground color is set")
+  (docs "Remember the last info window visibility state")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property bold
-  (of-object "GtkSourceStyle")
+(define-property select-on-show
+  (of-object "GtkSourceCompletion")
   (prop-type "GParamBoolean")
-  (docs "Bold")
+  (docs "Select first proposal when completion is shown")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property bold-set
-  (of-object "GtkSourceStyle")
+(define-property show-headers
+  (of-object "GtkSourceCompletion")
   (prop-type "GParamBoolean")
-  (docs "Whether bold attribute is set")
+  (docs "Show provider headers when proposals from multiple providers are available")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property italic
-  (of-object "GtkSourceStyle")
+(define-property show-icons
+  (of-object "GtkSourceCompletion")
   (prop-type "GParamBoolean")
-  (docs "Italic")
+  (docs "Show provider and proposal icons in the completion popup")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property italic-set
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Whether italic attribute is set")
+(define-property accelerators
+  (of-object "GtkSourceCompletion")
+  (prop-type "GParamUInt")
+  (docs "Number of proposal accelerators to show")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property underline
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Underline")
+(define-property auto-complete-delay
+  (of-object "GtkSourceCompletion")
+  (prop-type "GParamUInt")
+  (docs "Completion popup delay for interactive completion")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property underline-set
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Whether underline attribute is set")
+(define-property provider-page-size
+  (of-object "GtkSourceCompletion")
+  (prop-type "GParamUInt")
+  (docs "Provider scrolling page size")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property strikethrough
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Strikethrough")
+(define-property proposal-page-size
+  (of-object "GtkSourceCompletion")
+  (prop-type "GParamUInt")
+  (docs "Proposal scrolling page size")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property strikethrough-set
-  (of-object "GtkSourceStyle")
-  (prop-type "GParamBoolean")
-  (docs "Whether strikethrough attribute is set")
-  (readable #t)
-  (writable #t)
-  (construct-only #t)
-)
+;; From GtkSourceCompletionContext
 
-;; From GtkSourceStyleScheme
+(define-signal cancelled
+  (of-object "GtkSourceCompletionContext")
+  (return-type "void")
+  (when "last")
+)
 
-(define-property id
-  (of-object "GtkSourceStyleScheme")
-  (prop-type "GParamString")
-  (docs "Style scheme id")
+(define-property completion
+  (of-object "GtkSourceCompletionContext")
+  (prop-type "GParamObject")
+  (docs "The completion object to which the context belongs")
   (readable #t)
   (writable #t)
   (construct-only #t)
 )
 
-(define-property name
-  (of-object "GtkSourceStyleScheme")
-  (prop-type "GParamString")
-  (docs "Style scheme name")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-(define-property description
-  (of-object "GtkSourceStyleScheme")
-  (prop-type "GParamString")
-  (docs "Style scheme description")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-(define-property filename
-  (of-object "GtkSourceStyleScheme")
-  (prop-type "GParamString")
-  (docs "Style scheme filename")
-  (readable #t)
-  (writable #f)
-  (construct-only #f)
-)
-
-;; From GtkSourceStyleSchemeManager
-
-(define-property search-path
-  (of-object "GtkSourceStyleSchemeManager")
+(define-property iter
+  (of-object "GtkSourceCompletionContext")
   (prop-type "GParamBoxed")
-  (docs "List of directories and files where the style schemes are located")
+  (docs "The GtkTextIter at which the completion was invoked")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property scheme-ids
-  (of-object "GtkSourceStyleSchemeManager")
-  (prop-type "GParamBoxed")
-  (docs "List of the ids of the available style schemes")
+(define-property activation
+  (of-object "GtkSourceCompletionContext")
+  (prop-type "GParamFlags")
+  (docs "The type of activation")
   (readable #t)
-  (writable #f)
+  (writable #t)
   (construct-only #f)
 )
 
-;; From GtkSourceView
-
-(define-signal undo
-  (of-object "GtkSourceView")
-  (return-type "void")
-  (when "last")
-)
-
-(define-signal redo
-  (of-object "GtkSourceView")
-  (return-type "void")
-  (when "last")
-)
-
-(define-signal show-completion
-  (of-object "GtkSourceView")
-  (return-type "void")
-  (when "last")
-)
+;; From GtkSourceCompletionInfo
 
-(define-signal line-mark-activated
-  (of-object "GtkSourceView")
+(define-signal before-show
+  (of-object "GtkSourceCompletionInfo")
   (return-type "void")
   (when "last")
-  (parameters
-    '("GtkTextIter*" "p0")
-    '("GdkEvent*" "p1")
-  )
 )
 
 (define-property user-data
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamPointer")
   (docs "Anonymous User Data Pointer")
   (readable #t)
@@ -461,7 +349,7 @@
 )
 
 (define-property name
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamString")
   (docs "The name of the widget")
   (readable #t)
@@ -470,7 +358,7 @@
 )
 
 (define-property parent
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamObject")
   (docs "The parent widget of this widget. Must be a Container widget")
   (readable #t)
@@ -479,7 +367,7 @@
 )
 
 (define-property width-request
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamInt")
   (docs "Override for width request of the widget, or -1 if natural request should be used")
   (readable #t)
@@ -488,7 +376,7 @@
 )
 
 (define-property height-request
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamInt")
   (docs "Override for height request of the widget, or -1 if natural request should be used")
   (readable #t)
@@ -497,7 +385,7 @@
 )
 
 (define-property visible
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget is visible")
   (readable #t)
@@ -506,7 +394,7 @@
 )
 
 (define-property sensitive
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget responds to input")
   (readable #t)
@@ -515,7 +403,7 @@
 )
 
 (define-property app-paintable
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the application will paint directly on the widget")
   (readable #t)
@@ -524,7 +412,7 @@
 )
 
 (define-property can-focus
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget can accept the input focus")
   (readable #t)
@@ -533,7 +421,7 @@
 )
 
 (define-property has-focus
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget has the input focus")
   (readable #t)
@@ -542,7 +430,7 @@
 )
 
 (define-property is-focus
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget is the focus widget within the toplevel")
   (readable #t)
@@ -551,7 +439,7 @@
 )
 
 (define-property can-default
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget can be the default widget")
   (readable #t)
@@ -560,7 +448,7 @@
 )
 
 (define-property has-default
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget is the default widget")
   (readable #t)
@@ -569,7 +457,7 @@
 )
 
 (define-property receives-default
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "If TRUE, the widget will receive the default action when it is focused")
   (readable #t)
@@ -578,7 +466,7 @@
 )
 
 (define-property composite-child
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether the widget is part of a composite widget")
   (readable #t)
@@ -587,7 +475,7 @@
 )
 
 (define-property style
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamObject")
   (docs "The style of the widget, which contains information about how it will look (colors etc)")
   (readable #t)
@@ -596,7 +484,7 @@
 )
 
 (define-property events
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamFlags")
   (docs "The event mask that decides what kind of GdkEvents this widget gets")
   (readable #t)
@@ -605,7 +493,7 @@
 )
 
 (define-property extension-events
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamEnum")
   (docs "The mask that decides what kind of extension events this widget gets")
   (readable #t)
@@ -614,7 +502,7 @@
 )
 
 (define-property no-show-all
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether gtk_widget_show_all() should not affect this widget")
   (readable #t)
@@ -623,7 +511,7 @@
 )
 
 (define-property has-tooltip
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether this widget has a tooltip")
   (readable #t)
@@ -632,7 +520,7 @@
 )
 
 (define-property tooltip-markup
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamString")
   (docs "The contents of the tooltip for this widget")
   (readable #t)
@@ -641,7 +529,7 @@
 )
 
 (define-property tooltip-text
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamString")
   (docs "The contents of the tooltip for this widget")
   (readable #t)
@@ -650,7 +538,7 @@
 )
 
 (define-property window
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamObject")
   (docs "The widget's window if it is realized")
   (readable #t)
@@ -659,7 +547,7 @@
 )
 
 (define-property double-buffered
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
   (docs "Whether or not the widget is double buffered")
   (readable #t)
@@ -668,7 +556,7 @@
 )
 
 (define-property border-width
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamUInt")
   (docs "The width of the empty border outside the containers children")
   (readable #t)
@@ -677,7 +565,7 @@
 )
 
 (define-property resize-mode
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamEnum")
   (docs "Specify how resize events are handled")
   (readable #t)
@@ -686,7 +574,7 @@
 )
 
 (define-property child
-  (of-object "GtkSourceView")
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamObject")
   (docs "Can be used to add a new child to the container")
   (readable #f)
@@ -694,1101 +582,1246 @@
   (construct-only #f)
 )
 
-(define-property pixels-above-lines
-  (of-object "GtkSourceView")
-  (prop-type "GParamInt")
-  (docs "Pixels of blank space above paragraphs")
+(define-property type
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamEnum")
+  (docs "The type of the window")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+)
+
+(define-property title
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamString")
+  (docs "The title of the window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pixels-below-lines
-  (of-object "GtkSourceView")
-  (prop-type "GParamInt")
-  (docs "Pixels of blank space below paragraphs")
+(define-property role
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamString")
+  (docs "Unique identifier for the window to be used when restoring a session")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property pixels-inside-wrap
-  (of-object "GtkSourceView")
-  (prop-type "GParamInt")
-  (docs "Pixels of blank space between wrapped lines in a paragraph")
+(define-property allow-shrink
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the window has no mimimum size. Setting this to TRUE is 99% of the time a bad idea")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property editable
-  (of-object "GtkSourceView")
+(define-property allow-grow
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether the text can be modified by the user")
+  (docs "If TRUE, users can expand the window beyond its minimum size")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property wrap-mode
-  (of-object "GtkSourceView")
-  (prop-type "GParamEnum")
-  (docs "Whether to wrap lines never, at word boundaries, or at character boundaries")
+(define-property resizable
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, users can resize the window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property justification
-  (of-object "GtkSourceView")
+(define-property modal
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "If TRUE, the window is modal (other windows are not usable while this one is up)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property window-position
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamEnum")
-  (docs "Left, right, or center justification")
+  (docs "The initial position of the window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property left-margin
-  (of-object "GtkSourceView")
+(define-property default-width
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamInt")
-  (docs "Width of the left margin in pixels")
+  (docs "The default width of the window, used when initially showing the window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property right-margin
-  (of-object "GtkSourceView")
+(define-property default-height
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamInt")
-  (docs "Width of the right margin in pixels")
+  (docs "The default height of the window, used when initially showing the window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property indent
-  (of-object "GtkSourceView")
-  (prop-type "GParamInt")
-  (docs "Amount to indent the paragraph, in pixels")
+(define-property destroy-with-parent
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "If this window should be destroyed when the parent is destroyed")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property tabs
-  (of-object "GtkSourceView")
-  (prop-type "GParamBoxed")
-  (docs "Custom tabs for this text")
+(define-property icon
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamObject")
+  (docs "Icon for this window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property cursor-visible
-  (of-object "GtkSourceView")
-  (prop-type "GParamBoolean")
-  (docs "If the insertion cursor is shown")
+(define-property icon-name
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamString")
+  (docs "Name of the themed icon for this window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property buffer
-  (of-object "GtkSourceView")
+(define-property screen
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamObject")
-  (docs "The buffer which is displayed")
+  (docs "The screen where this window will be displayed")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property overwrite
-  (of-object "GtkSourceView")
+(define-property type-hint
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamEnum")
+  (docs "Hint to help the desktop environment understand what kind of window this is and how to treat it.")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property skip-taskbar-hint
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether entered text overwrites existing contents")
+  (docs "TRUE if the window should not be in the task bar.")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property accepts-tab
-  (of-object "GtkSourceView")
+(define-property skip-pager-hint
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether Tab will result in a tab character being entered")
+  (docs "TRUE if the window should not be in the pager.")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property im-module
-  (of-object "GtkSourceView")
-  (prop-type "GParamString")
-  (docs "Which IM module should be used")
+(define-property urgency-hint
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "TRUE if the window should be brought to the user's attention.")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property completion
-  (of-object "GtkSourceView")
-  (prop-type "GParamObject")
-  (docs "The completion object associated with the view")
+(define-property accept-focus
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "TRUE if the window should receive the input focus.")
   (readable #t)
-  (writable #f)
+  (writable #t)
   (construct-only #f)
 )
 
-(define-property show-line-numbers
-  (of-object "GtkSourceView")
+(define-property focus-on-map
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether to display line numbers")
+  (docs "TRUE if the window should receive the input focus when mapped.")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property show-line-marks
-  (of-object "GtkSourceView")
+(define-property decorated
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether to display line mark pixbufs")
+  (docs "Whether the window should be decorated by the window manager")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property tab-width
-  (of-object "GtkSourceView")
-  (prop-type "GParamUInt")
-  (docs "Width of a tab character expressed in spaces")
+(define-property deletable
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "Whether the window frame should have a close button")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property indent-width
-  (of-object "GtkSourceView")
-  (prop-type "GParamInt")
-  (docs "Number of spaces to use for each step of indent")
+(define-property gravity
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamEnum")
+  (docs "The window gravity of the window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property auto-indent
-  (of-object "GtkSourceView")
-  (prop-type "GParamBoolean")
-  (docs "Whether to enable auto indentation")
+(define-property transient-for
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamObject")
+  (docs "The transient parent of the dialog")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property insert-spaces-instead-of-tabs
-  (of-object "GtkSourceView")
+(define-property opacity
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamDouble")
+  (docs "The opacity of the window, from 0 to 1")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property is-active
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether to insert spaces instead of tabs")
+  (docs "Whether the toplevel is the current active window")
   (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property has-toplevel-focus
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamBoolean")
+  (docs "Whether the input focus is within this GtkWindow")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+(define-property startup-id
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamString")
+  (docs "Unique startup identifier for the window used by startup-notification")
+  (readable #f)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property show-right-margin
-  (of-object "GtkSourceView")
+(define-property mnemonics-visible
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether to display the right margin")
+  (docs "Whether mnemonics are currently visible in this window")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property right-margin-position
-  (of-object "GtkSourceView")
-  (prop-type "GParamUInt")
-  (docs "Position of the right margin")
+(define-property max-width
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamInt")
+  (docs "The maximum allowed width")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property smart-home-end
-  (of-object "GtkSourceView")
-  (prop-type "GParamEnum")
-  (docs "HOME and END keys move to first/last non whitespace characters on line before going to the start/end of the line")
+(define-property max-height
+  (of-object "GtkSourceCompletionInfo")
+  (prop-type "GParamInt")
+  (docs "The maximum allowed height")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property highlight-current-line
-  (of-object "GtkSourceView")
+(define-property shrink-width
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether to highlight the current line")
+  (docs "Whether the window should shrink width to fit the contents")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property indent-on-tab
-  (of-object "GtkSourceView")
+(define-property shrink-height
+  (of-object "GtkSourceCompletionInfo")
   (prop-type "GParamBoolean")
-  (docs "Whether to indent the selected text when the tab key is pressed")
+  (docs "Whether the window should shrink height to fit the contents")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property draw-spaces
-  (of-object "GtkSourceView")
-  (prop-type "GParamFlags")
-  (docs "Set if and how the spaces should be visualized")
+;; From GtkSourceCompletionItem
+
+(define-property label
+  (of-object "GtkSourceCompletionItem")
+  (prop-type "GParamString")
+  (docs "Label to be shown for this item")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-;; From GtkSourceCompletion
+(define-property markup
+  (of-object "GtkSourceCompletionItem")
+  (prop-type "GParamString")
+  (docs "Markup to be shown for this item")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
 
-(define-signal show
-  (of-object "GtkSourceCompletion")
-  (return-type "void")
-  (when "last")
+(define-property text
+  (of-object "GtkSourceCompletionItem")
+  (prop-type "GParamString")
+  (docs "Item text")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
 )
 
-(define-signal hide
-  (of-object "GtkSourceCompletion")
-  (return-type "void")
-  (when "last")
+(define-property icon
+  (of-object "GtkSourceCompletionItem")
+  (prop-type "GParamObject")
+  (docs "Icon to be shown for this item")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
 )
 
-(define-signal populate-context
-  (of-object "GtkSourceCompletion")
-  (return-type "void")
-  (when "last")
-  (parameters
-    '("GtkSourceCompletionContext*" "p0")
-  )
+(define-property info
+  (of-object "GtkSourceCompletionItem")
+  (prop-type "GParamString")
+  (docs "Info to be shown for this item")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
 )
 
-(define-signal move-cursor
-  (of-object "GtkSourceCompletion")
+;; From GtkSourceCompletionProposal
+
+(define-signal changed
+  (of-object "GtkSourceCompletionProposal")
   (return-type "void")
   (when "last")
-  (parameters
-    '("GtkScrollStep" "p0")
-    '("gint" "p1")
-  )
 )
 
-(define-signal move-page
-  (of-object "GtkSourceCompletion")
-  (return-type "void")
+;; From GtkSourceCompletionProvider
+
+;; From GtkSourceGutter
+
+(define-signal query-tooltip
+  (of-object "GtkSourceGutter")
+  (return-type "gboolean")
   (when "last")
   (parameters
-    '("GtkScrollStep" "p0")
-    '("gint" "p1")
+    '("GtkCellRenderer*" "p0")
+    '("GtkTextIter*" "p1")
+    '("GtkTooltip*" "p2")
   )
 )
 
-(define-signal activate-proposal
-  (of-object "GtkSourceCompletion")
+(define-signal cell-activated
+  (of-object "GtkSourceGutter")
   (return-type "void")
   (when "last")
+  (parameters
+    '("GtkCellRenderer*" "p0")
+    '("GtkTextIter*" "p1")
+    '("GdkEvent*" "p2")
+  )
 )
 
-(define-property user-data
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamPointer")
-  (docs "Anonymous User Data Pointer")
+(define-property view
+  (of-object "GtkSourceGutter")
+  (prop-type "GParamObject")
+  (docs "The gutters' GtkSourceView")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property view
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamObject")
-  (docs "The GtkSourceView bound to the completion")
+(define-property window-type
+  (of-object "GtkSourceGutter")
+  (prop-type "GParamEnum")
+  (docs "The gutters text window type")
   (readable #t)
   (writable #t)
   (construct-only #t)
 )
 
-(define-property remember-info-visibility
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamBoolean")
-  (docs "Remember the last info window visibility state")
+;; From GtkSourceLanguage
+
+(define-property id
+  (of-object "GtkSourceLanguage")
+  (prop-type "GParamString")
+  (docs "Language id")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property select-on-show
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamBoolean")
-  (docs "Select first proposal when completion is shown")
+(define-property name
+  (of-object "GtkSourceLanguage")
+  (prop-type "GParamString")
+  (docs "Language name")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property show-headers
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamBoolean")
-  (docs "Show provider headers when proposals from multiple providers are available")
+(define-property section
+  (of-object "GtkSourceLanguage")
+  (prop-type "GParamString")
+  (docs "Language section")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property show-icons
-  (of-object "GtkSourceCompletion")
+(define-property hidden
+  (of-object "GtkSourceLanguage")
   (prop-type "GParamBoolean")
-  (docs "Show provider and proposal icons in the completion popup")
+  (docs "Whether the language should be hidden from the user")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property accelerators
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamUInt")
-  (docs "Number of proposal accelerators to show")
+;; From GtkSourceLanguageManager
+
+(define-property search-path
+  (of-object "GtkSourceLanguageManager")
+  (prop-type "GParamBoxed")
+  (docs "List of directories where the language specification files (.lang) are located")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property auto-complete-delay
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamUInt")
-  (docs "Completion popup delay for interactive completion")
+(define-property language-ids
+  (of-object "GtkSourceLanguageManager")
+  (prop-type "GParamBoxed")
+  (docs "List of the ids of the available languages")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property provider-page-size
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamUInt")
-  (docs "Provider scrolling page size")
+;; From GtkSourceMark
+
+(define-property name
+  (of-object "GtkSourceMark")
+  (prop-type "GParamString")
+  (docs "Mark name")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property proposal-page-size
-  (of-object "GtkSourceCompletion")
-  (prop-type "GParamUInt")
-  (docs "Proposal scrolling page size")
+(define-property left-gravity
+  (of-object "GtkSourceMark")
+  (prop-type "GParamBoolean")
+  (docs "Whether the mark has left gravity")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-;; From GtkSourceCompletionContext
-
-(define-signal cancelled
-  (of-object "GtkSourceCompletionContext")
-  (return-type "void")
-  (when "last")
+(define-property category
+  (of-object "GtkSourceMark")
+  (prop-type "GParamString")
+  (docs "The mark category")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
 )
 
-(define-property completion
-  (of-object "GtkSourceCompletionContext")
+;; From GtkSourcePrintCompositor
+
+(define-property buffer
+  (of-object "GtkSourcePrintCompositor")
   (prop-type "GParamObject")
-  (docs "The completion object to which the context belongs")
+  (docs "The GtkSourceBuffer object to print")
   (readable #t)
   (writable #t)
   (construct-only #t)
 )
 
-(define-property view
-  (of-object "GtkSourceCompletionContext")
-  (prop-type "GParamObject")
-  (docs "The GtkSourceView")
+(define-property tab-width
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamUInt")
+  (docs "Width of a tab character expressed in spaces")
   (readable #t)
-  (writable #f)
+  (writable #t)
   (construct-only #f)
 )
 
-(define-property iter
-  (of-object "GtkSourceCompletionContext")
-  (prop-type "GParamBoxed")
-  (docs "The GtkTextIter at which the completion was invoked")
+(define-property wrap-mode
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamEnum")
+  (docs "Whether to wrap lines never, at word boundaries, or at character boundaries.")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property activation
-  (of-object "GtkSourceCompletionContext")
-  (prop-type "GParamFlags")
-  (docs "The type of activation")
+(define-property highlight-syntax
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamBoolean")
+  (docs "Whether to print the document with highlighted syntax")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-;; From GtkSourceCompletionInfo
+(define-property print-line-numbers
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamUInt")
+  (docs "Interval of printed line numbers (0 means no numbers)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
 
-(define-signal before-show
-  (of-object "GtkSourceCompletionInfo")
-  (return-type "void")
-  (when "last")
+(define-property print-header
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamBoolean")
+  (docs "Whether to print a header in each page")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
 )
 
-(define-property user-data
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamPointer")
-  (docs "Anonymous User Data Pointer")
+(define-property print-footer
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamBoolean")
+  (docs "Whether to print a footer in each page")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property name
-  (of-object "GtkSourceCompletionInfo")
+(define-property body-font-name
+  (of-object "GtkSourcePrintCompositor")
   (prop-type "GParamString")
-  (docs "The name of the widget")
+  (docs "Name of the font to use for the text body (e.g. 'Monospace 10')")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property parent
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamObject")
-  (docs "The parent widget of this widget. Must be a Container widget")
+(define-property line-numbers-font-name
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamString")
+  (docs "Name of the font to use for the line numbers (e.g. 'Monospace 10')")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property width-request
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamInt")
-  (docs "Override for width request of the widget, or -1 if natural request should be used")
+(define-property header-font-name
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamString")
+  (docs "Name of the font to use for the page header (e.g. 'Monospace 10')")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property height-request
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamInt")
-  (docs "Override for height request of the widget, or -1 if natural request should be used")
+(define-property footer-font-name
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamString")
+  (docs "Name of the font to use for the page footer (e.g. 'Monospace 10')")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property visible
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the widget is visible")
+(define-property n-pages
+  (of-object "GtkSourcePrintCompositor")
+  (prop-type "GParamInt")
+  (docs "The number of pages in the document (-1 means the document has not been completely paginated).")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property sensitive
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the widget responds to input")
+;; From GtkSourceStyle
+
+(define-property line-background
+  (of-object "GtkSourceStyle")
+  (prop-type "GParamString")
+  (docs "Line background color")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property app-paintable
-  (of-object "GtkSourceCompletionInfo")
+(define-property line-background-set
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether the application will paint directly on the widget")
+  (docs "Whether line background color is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property can-focus
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the widget can accept the input focus")
+(define-property background
+  (of-object "GtkSourceStyle")
+  (prop-type "GParamString")
+  (docs "Background color")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property has-focus
-  (of-object "GtkSourceCompletionInfo")
+(define-property background-set
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether the widget has the input focus")
+  (docs "Whether background color is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property is-focus
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the widget is the focus widget within the toplevel")
+(define-property foreground
+  (of-object "GtkSourceStyle")
+  (prop-type "GParamString")
+  (docs "Foreground color")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property can-default
-  (of-object "GtkSourceCompletionInfo")
+(define-property foreground-set
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether the widget can be the default widget")
+  (docs "Whether foreground color is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property has-default
-  (of-object "GtkSourceCompletionInfo")
+(define-property bold
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether the widget is the default widget")
+  (docs "Bold")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property receives-default
-  (of-object "GtkSourceCompletionInfo")
+(define-property bold-set
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "If TRUE, the widget will receive the default action when it is focused")
+  (docs "Whether bold attribute is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property composite-child
-  (of-object "GtkSourceCompletionInfo")
+(define-property italic
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether the widget is part of a composite widget")
+  (docs "Italic")
   (readable #t)
-  (writable #f)
-  (construct-only #f)
+  (writable #t)
+  (construct-only #t)
 )
 
-(define-property style
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamObject")
-  (docs "The style of the widget, which contains information about how it will look (colors etc)")
+(define-property italic-set
+  (of-object "GtkSourceStyle")
+  (prop-type "GParamBoolean")
+  (docs "Whether italic attribute is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property events
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamFlags")
-  (docs "The event mask that decides what kind of GdkEvents this widget gets")
+(define-property underline
+  (of-object "GtkSourceStyle")
+  (prop-type "GParamBoolean")
+  (docs "Underline")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property extension-events
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamEnum")
-  (docs "The mask that decides what kind of extension events this widget gets")
+(define-property underline-set
+  (of-object "GtkSourceStyle")
+  (prop-type "GParamBoolean")
+  (docs "Whether underline attribute is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property no-show-all
-  (of-object "GtkSourceCompletionInfo")
+(define-property strikethrough
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether gtk_widget_show_all() should not affect this widget")
+  (docs "Strikethrough")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property has-tooltip
-  (of-object "GtkSourceCompletionInfo")
+(define-property strikethrough-set
+  (of-object "GtkSourceStyle")
   (prop-type "GParamBoolean")
-  (docs "Whether this widget has a tooltip")
+  (docs "Whether strikethrough attribute is set")
   (readable #t)
   (writable #t)
-  (construct-only #f)
+  (construct-only #t)
 )
 
-(define-property tooltip-markup
-  (of-object "GtkSourceCompletionInfo")
+;; From GtkSourceStyleScheme
+
+(define-property id
+  (of-object "GtkSourceStyleScheme")
   (prop-type "GParamString")
-  (docs "The contents of the tooltip for this widget")
+  (docs "Style scheme id")
   (readable #t)
   (writable #t)
+  (construct-only #t)
+)
+
+(define-property name
+  (of-object "GtkSourceStyleScheme")
+  (prop-type "GParamString")
+  (docs "Style scheme name")
+  (readable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property tooltip-text
-  (of-object "GtkSourceCompletionInfo")
+(define-property description
+  (of-object "GtkSourceStyleScheme")
   (prop-type "GParamString")
-  (docs "The contents of the tooltip for this widget")
+  (docs "Style scheme description")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property window
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamObject")
-  (docs "The widget's window if it is realized")
+(define-property filename
+  (of-object "GtkSourceStyleScheme")
+  (prop-type "GParamString")
+  (docs "Style scheme filename")
   (readable #t)
   (writable #f)
   (construct-only #f)
 )
 
-(define-property double-buffered
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether or not the widget is double buffered")
+;; From GtkSourceStyleSchemeManager
+
+(define-property search-path
+  (of-object "GtkSourceStyleSchemeManager")
+  (prop-type "GParamBoxed")
+  (docs "List of directories and files where the style schemes are located")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property border-width
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamUInt")
-  (docs "The width of the empty border outside the containers children")
+(define-property scheme-ids
+  (of-object "GtkSourceStyleSchemeManager")
+  (prop-type "GParamBoxed")
+  (docs "List of the ids of the available style schemes")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+;; From GtkSourceUndoManager
+
+(define-signal can-undo-changed
+  (of-object "GtkSourceUndoManager")
+  (return-type "void")
+  (when "last")
+)
+
+(define-signal can-redo-changed
+  (of-object "GtkSourceUndoManager")
+  (return-type "void")
+  (when "last")
+)
+
+;; From GtkSourceView
+
+(define-signal undo
+  (of-object "GtkSourceView")
+  (return-type "void")
+  (when "last")
+)
+
+(define-signal redo
+  (of-object "GtkSourceView")
+  (return-type "void")
+  (when "last")
+)
+
+(define-signal show-completion
+  (of-object "GtkSourceView")
+  (return-type "void")
+  (when "last")
+)
+
+(define-signal line-mark-activated
+  (of-object "GtkSourceView")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("GtkTextIter*" "p0")
+    '("GdkEvent*" "p1")
+  )
+)
+
+(define-signal move-lines
+  (of-object "GtkSourceView")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("gboolean" "p0")
+    '("gint" "p1")
+  )
+)
+
+(define-property user-data
+  (of-object "GtkSourceView")
+  (prop-type "GParamPointer")
+  (docs "Anonymous User Data Pointer")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property resize-mode
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamEnum")
-  (docs "Specify how resize events are handled")
+(define-property name
+  (of-object "GtkSourceView")
+  (prop-type "GParamString")
+  (docs "The name of the widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property child
-  (of-object "GtkSourceCompletionInfo")
+(define-property parent
+  (of-object "GtkSourceView")
   (prop-type "GParamObject")
-  (docs "Can be used to add a new child to the container")
-  (readable #f)
+  (docs "The parent widget of this widget. Must be a Container widget")
+  (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property type
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamEnum")
-  (docs "The type of the window")
+(define-property width-request
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Override for width request of the widget, or -1 if natural request should be used")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-(define-property title
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamString")
-  (docs "The title of the window")
+(define-property height-request
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Override for height request of the widget, or -1 if natural request should be used")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property role
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamString")
-  (docs "Unique identifier for the window to be used when restoring a session")
+(define-property visible
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is visible")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property allow-shrink
-  (of-object "GtkSourceCompletionInfo")
+(define-property sensitive
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "If TRUE, the window has no mimimum size. Setting this to TRUE is 99% of the time a bad idea")
+  (docs "Whether the widget responds to input")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property allow-grow
-  (of-object "GtkSourceCompletionInfo")
+(define-property app-paintable
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "If TRUE, users can expand the window beyond its minimum size")
+  (docs "Whether the application will paint directly on the widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property resizable
-  (of-object "GtkSourceCompletionInfo")
+(define-property can-focus
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "If TRUE, users can resize the window")
+  (docs "Whether the widget can accept the input focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property modal
-  (of-object "GtkSourceCompletionInfo")
+(define-property has-focus
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "If TRUE, the window is modal (other windows are not usable while this one is up)")
+  (docs "Whether the widget has the input focus")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property window-position
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamEnum")
-  (docs "The initial position of the window")
+(define-property is-focus
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the focus widget within the toplevel")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property default-width
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamInt")
-  (docs "The default width of the window, used when initially showing the window")
+(define-property can-default
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget can be the default widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property default-height
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamInt")
-  (docs "The default height of the window, used when initially showing the window")
+(define-property has-default
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is the default widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property destroy-with-parent
-  (of-object "GtkSourceCompletionInfo")
+(define-property receives-default
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "If this window should be destroyed when the parent is destroyed")
+  (docs "If TRUE, the widget will receive the default action when it is focused")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property icon
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamObject")
-  (docs "Icon for this window")
+(define-property composite-child
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is part of a composite widget")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property icon-name
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamString")
-  (docs "Name of the themed icon for this window")
+(define-property style
+  (of-object "GtkSourceView")
+  (prop-type "GParamObject")
+  (docs "The style of the widget, which contains information about how it will look (colors etc)")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property screen
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamObject")
-  (docs "The screen where this window will be displayed")
+(define-property events
+  (of-object "GtkSourceView")
+  (prop-type "GParamFlags")
+  (docs "The event mask that decides what kind of GdkEvents this widget gets")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property type-hint
-  (of-object "GtkSourceCompletionInfo")
+(define-property extension-events
+  (of-object "GtkSourceView")
   (prop-type "GParamEnum")
-  (docs "Hint to help the desktop environment understand what kind of window this is and how to treat it.")
+  (docs "The mask that decides what kind of extension events this widget gets")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property skip-taskbar-hint
-  (of-object "GtkSourceCompletionInfo")
+(define-property no-show-all
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "TRUE if the window should not be in the task bar.")
+  (docs "Whether gtk_widget_show_all() should not affect this widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property skip-pager-hint
-  (of-object "GtkSourceCompletionInfo")
+(define-property has-tooltip
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "TRUE if the window should not be in the pager.")
+  (docs "Whether this widget has a tooltip")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property urgency-hint
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "TRUE if the window should be brought to the user's attention.")
+(define-property tooltip-markup
+  (of-object "GtkSourceView")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property accept-focus
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "TRUE if the window should receive the input focus.")
+(define-property tooltip-text
+  (of-object "GtkSourceView")
+  (prop-type "GParamString")
+  (docs "The contents of the tooltip for this widget")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property focus-on-map
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "TRUE if the window should receive the input focus when mapped.")
+(define-property window
+  (of-object "GtkSourceView")
+  (prop-type "GParamObject")
+  (docs "The widget's window if it is realized")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
-(define-property decorated
-  (of-object "GtkSourceCompletionInfo")
+(define-property double-buffered
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "Whether the window should be decorated by the window manager")
+  (docs "Whether or not the widget is double buffered")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property deletable
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the window frame should have a close button")
+(define-property border-width
+  (of-object "GtkSourceView")
+  (prop-type "GParamUInt")
+  (docs "The width of the empty border outside the containers children")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property gravity
-  (of-object "GtkSourceCompletionInfo")
+(define-property resize-mode
+  (of-object "GtkSourceView")
   (prop-type "GParamEnum")
-  (docs "The window gravity of the window")
+  (docs "Specify how resize events are handled")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property transient-for
-  (of-object "GtkSourceCompletionInfo")
+(define-property child
+  (of-object "GtkSourceView")
   (prop-type "GParamObject")
-  (docs "The transient parent of the dialog")
+  (docs "Can be used to add a new child to the container")
+  (readable #f)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property pixels-above-lines
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Pixels of blank space above paragraphs")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property opacity
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamDouble")
-  (docs "The opacity of the window, from 0 to 1")
+(define-property pixels-below-lines
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Pixels of blank space below paragraphs")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property is-active
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the toplevel is the current active window")
+(define-property pixels-inside-wrap
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Pixels of blank space between wrapped lines in a paragraph")
   (readable #t)
-  (writable #f)
+  (writable #t)
   (construct-only #f)
 )
 
-(define-property has-toplevel-focus
-  (of-object "GtkSourceCompletionInfo")
+(define-property editable
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "Whether the input focus is within this GtkWindow")
+  (docs "Whether the text can be modified by the user")
   (readable #t)
-  (writable #f)
+  (writable #t)
   (construct-only #f)
 )
 
-(define-property startup-id
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamString")
-  (docs "Unique startup identifier for the window used by startup-notification")
-  (readable #f)
+(define-property wrap-mode
+  (of-object "GtkSourceView")
+  (prop-type "GParamEnum")
+  (docs "Whether to wrap lines never, at word boundaries, or at character boundaries")
+  (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property mnemonics-visible
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether mnemonics are currently visible in this window")
+(define-property justification
+  (of-object "GtkSourceView")
+  (prop-type "GParamEnum")
+  (docs "Left, right, or center justification")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property max-width
-  (of-object "GtkSourceCompletionInfo")
+(define-property left-margin
+  (of-object "GtkSourceView")
   (prop-type "GParamInt")
-  (docs "The maximum allowed width")
+  (docs "Width of the left margin in pixels")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property max-height
-  (of-object "GtkSourceCompletionInfo")
+(define-property right-margin
+  (of-object "GtkSourceView")
   (prop-type "GParamInt")
-  (docs "The maximum allowed height")
+  (docs "Width of the right margin in pixels")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property shrink-width
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the window should shrink width to fit the contents")
+(define-property indent
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Amount to indent the paragraph, in pixels")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property shrink-height
-  (of-object "GtkSourceCompletionInfo")
-  (prop-type "GParamBoolean")
-  (docs "Whether the window should shrink height to fit the contents")
+(define-property tabs
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoxed")
+  (docs "Custom tabs for this text")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-;; From GtkSourceCompletionItem
-
-(define-property label
-  (of-object "GtkSourceCompletionItem")
-  (prop-type "GParamString")
-  (docs "Label to be shown for this item")
+(define-property cursor-visible
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "If the insertion cursor is shown")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property markup
-  (of-object "GtkSourceCompletionItem")
-  (prop-type "GParamString")
-  (docs "Markup to be shown for this item")
+(define-property buffer
+  (of-object "GtkSourceView")
+  (prop-type "GParamObject")
+  (docs "The buffer which is displayed")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property text
-  (of-object "GtkSourceCompletionItem")
-  (prop-type "GParamString")
-  (docs "Item text")
+(define-property overwrite
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether entered text overwrites existing contents")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property icon
-  (of-object "GtkSourceCompletionItem")
-  (prop-type "GParamObject")
-  (docs "Icon to be shown for this item")
+(define-property accepts-tab
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether Tab will result in a tab character being entered")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property info
-  (of-object "GtkSourceCompletionItem")
+(define-property im-module
+  (of-object "GtkSourceView")
   (prop-type "GParamString")
-  (docs "Info to be shown for this item")
+  (docs "Which IM module should be used")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-;; From GtkSourceCompletionProposal
-
-(define-signal changed
-  (of-object "GtkSourceCompletionProposal")
-  (return-type "void")
-  (when "last")
-)
-
-;; From GtkSourceCompletionProvider
-
-;; From GtkSourceGutter
-
-(define-signal cell-activated
-  (of-object "GtkSourceGutter")
-  (return-type "void")
-  (when "last")
-  (parameters
-    '("GtkCellRenderer*" "p0")
-    '("GtkTextIter*" "p1")
-    '("GdkEvent*" "p2")
-  )
-)
-
-(define-signal query-tooltip
-  (of-object "GtkSourceGutter")
-  (return-type "gboolean")
-  (when "last")
-  (parameters
-    '("GtkCellRenderer*" "p0")
-    '("GtkTextIter*" "p1")
-    '("GtkTooltip*" "p2")
-  )
-)
-
-(define-property view
-  (of-object "GtkSourceGutter")
+(define-property completion
+  (of-object "GtkSourceView")
   (prop-type "GParamObject")
-  (docs "The gutters' GtkSourceView")
+  (docs "The completion object associated with the view")
   (readable #t)
-  (writable #t)
-  (construct-only #t)
+  (writable #f)
+  (construct-only #f)
 )
 
-(define-property window-type
-  (of-object "GtkSourceGutter")
-  (prop-type "GParamEnum")
-  (docs "The gutters text window type")
+(define-property show-line-numbers
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether to display line numbers")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
-;; From GtkSourcePrintCompositor
-
-(define-property buffer
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamObject")
-  (docs "The GtkSourceBuffer object to print")
+(define-property show-line-marks
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether to display line mark pixbufs")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
 )
 
 (define-property tab-width
-  (of-object "GtkSourcePrintCompositor")
+  (of-object "GtkSourceView")
   (prop-type "GParamUInt")
   (docs "Width of a tab character expressed in spaces")
   (readable #t)
@@ -1796,93 +1829,84 @@
   (construct-only #f)
 )
 
-(define-property wrap-mode
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamEnum")
-  (docs "Whether to wrap lines never, at word boundaries, or at character boundaries.")
+(define-property indent-width
+  (of-object "GtkSourceView")
+  (prop-type "GParamInt")
+  (docs "Number of spaces to use for each step of indent")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property highlight-syntax
-  (of-object "GtkSourcePrintCompositor")
+(define-property auto-indent
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "Whether to print the document with highlighted syntax")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
-(define-property print-line-numbers
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamUInt")
-  (docs "Interval of printed line numbers (0 means no numbers)")
+  (docs "Whether to enable auto indentation")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property print-header
-  (of-object "GtkSourcePrintCompositor")
+(define-property insert-spaces-instead-of-tabs
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "Whether to print a header in each page")
+  (docs "Whether to insert spaces instead of tabs")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property print-footer
-  (of-object "GtkSourcePrintCompositor")
+(define-property show-right-margin
+  (of-object "GtkSourceView")
   (prop-type "GParamBoolean")
-  (docs "Whether to print a footer in each page")
+  (docs "Whether to display the right margin")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property body-font-name
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamString")
-  (docs "Name of the font to use for the text body (e.g. 'Monospace 10')")
+(define-property right-margin-position
+  (of-object "GtkSourceView")
+  (prop-type "GParamUInt")
+  (docs "Position of the right margin")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property line-numbers-font-name
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamString")
-  (docs "Name of the font to use for the line numbers (e.g. 'Monospace 10')")
+(define-property smart-home-end
+  (of-object "GtkSourceView")
+  (prop-type "GParamEnum")
+  (docs "HOME and END keys move to first/last non whitespace characters on line before going to the start/end of the line")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property header-font-name
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamString")
-  (docs "Name of the font to use for the page header (e.g. 'Monospace 10')")
+(define-property highlight-current-line
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether to highlight the current line")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property footer-font-name
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamString")
-  (docs "Name of the font to use for the page footer (e.g. 'Monospace 10')")
+(define-property indent-on-tab
+  (of-object "GtkSourceView")
+  (prop-type "GParamBoolean")
+  (docs "Whether to indent the selected text when the tab key is pressed")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property n-pages
-  (of-object "GtkSourcePrintCompositor")
-  (prop-type "GParamInt")
-  (docs "The number of pages in the document (-1 means the document has not been completely paginated).")
+(define-property draw-spaces
+  (of-object "GtkSourceView")
+  (prop-type "GParamFlags")
+  (docs "Set if and how the spaces should be visualized")
   (readable #t)
-  (writable #f)
+  (writable #t)
   (construct-only #f)
 )
 
diff --git a/gtksourceview/src/gtksourceview_vfuncs.defs b/gtksourceview/src/gtksourceview_vfuncs.defs
new file mode 100644
index 0000000..7abf35b
--- /dev/null
+++ b/gtksourceview/src/gtksourceview_vfuncs.defs
@@ -0,0 +1,119 @@
+; GtkSourceCompletionProposal
+
+(define-vfunc get_label
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "char*")
+)
+
+(define-vfunc get_markup
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "char*")
+)
+
+(define-vfunc get_text
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "char*")
+)
+
+(define-vfunc get_icon
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "GdkPixbuf*")
+)
+
+(define-vfunc get_info
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "char*")
+)
+
+(define-vfunc hash
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "guint")
+)
+
+(define-vfunc equal
+  (of-object "GtkSourceCompletionProposal")
+  (return-type "gboolean")
+  (parameters
+    '("GtkSourceCompletionProposal*" "other")
+  )
+)
+
+; GtkSourceCompletionProvider
+
+(define-vfunc get_name
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "char*")
+)
+
+(define-vfunc get_icon
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "GdkPixbuf*")
+)
+
+(define-vfunc populate
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "void")
+  (parameters
+    '("GtkSourceCompletionContext*" "context")
+  )
+)
+
+(define-vfunc match
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "gboolean")
+  (parameters
+    '("GtkSourceCompletionContext*" "context")
+  )
+)
+
+(define-vfunc get_activation
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "GtkSourceCompletionActivation")
+)
+
+(define-vfunc get_info_widget
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkSourceCompletionProposal*" "proposal")
+  )
+)
+
+(define-vfunc update_info
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "void")
+  (parameters
+    '("GtkSourceCompletionProposal*" "proposal")
+    '("GtkSourceCompletionInfo*" "info")
+  )
+)
+
+(define-vfunc get_start_iter
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "gboolean")
+  (parameters
+    '("GtkSourceCompletionContext*" "context"
+    '("GtkSourceCompletionProposal*" "proposal")
+    '("GtkTextIter*" "iter")
+  )
+)
+
+(define-vfunc activate_proposal
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "gboolean")
+  (parameters
+    '("GtkSourceCompletionProposal*" "proposal")
+    '("GtkTextIter*" "iter")
+  )
+)
+
+(define-vfunc get_interactive_delay
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "int")
+)
+
+(define-vfunc get_priority
+  (of-object "GtkSourceCompletionProvider")
+  (return-type "int")
+)
+



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