[gtksourceviewmm] Regenerate method definitions from gtksourceview 3.12.3



commit 79b531a24c5ec119c582ed72c659fa382e167e46
Author: Christoph Brill <egore911 gmail com>
Date:   Sun May 10 08:26:04 2015 +0200

    Regenerate method definitions from gtksourceview 3.12.3
    
    Done using the following command and manually readding deprecated
    methods:
    
    ../glibmm/tools/defs_gen/h2def.py ../gtksourceview/gtksourceview/*.h >
    gtksourceview/src/gtksourceview_methods.defs

 gtksourceview/src/gtksourceview_methods.defs |  527 ++++++++++++++++++++++++++
 1 files changed, 527 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/src/gtksourceview_methods.defs b/gtksourceview/src/gtksourceview_methods.defs
index cdc7f85..76a91a7 100644
--- a/gtksourceview/src/gtksourceview_methods.defs
+++ b/gtksourceview/src/gtksourceview_methods.defs
@@ -14,6 +14,13 @@
   (gtype-id "GTK_TYPE_SOURCE_COMPLETION")
 )
 
+(define-object SourceCompletionContainer
+  (in-module "Gtk")
+  (parent "GtkBin")
+  (c-name "GtkSourceCompletionContainer")
+  (gtype-id "GTK_TYPE_SOURCE_COMPLETION_CONTAINER")
+)
+
 (define-object SourceCompletionContext
   (in-module "Gtk")
   (parent "GInitiallyUnowned")
@@ -35,6 +42,13 @@
   (gtype-id "GTK_TYPE_SOURCE_COMPLETION_ITEM")
 )
 
+(define-object SourceCompletionModel
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkSourceCompletionModel")
+  (gtype-id "GTK_TYPE_SOURCE_COMPLETION_MODEL")
+)
+
 (define-object SourceCompletionProposal
   (in-module "Gtk")
   (c-name "GtkSourceCompletionProposal")
@@ -54,6 +68,13 @@
   (gtype-id "GTK_TYPE_SOURCE_COMPLETION_WORDS")
 )
 
+(define-object SourceContextEngine
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkSourceContextEngine")
+  (gtype-id "GTK_TYPE_SOURCE_CONTEXT_ENGINE")
+)
+
 (define-object SourceGutter
   (in-module "Gtk")
   (parent "GObject")
@@ -75,6 +96,13 @@
   (gtype-id "GTK_TYPE_SOURCE_GUTTER_RENDERER_PIXBUF")
 )
 
+(define-object SourceGutterRendererMarks
+  (in-module "Gtk")
+  (parent "GtkSourceGutterRendererPixbuf")
+  (c-name "GtkSourceGutterRendererMarks")
+  (gtype-id "GTK_TYPE_SOURCE_GUTTER_RENDERER_MARKS")
+)
+
 (define-object SourceGutterRendererText
   (in-module "Gtk")
   (parent "GtkSourceGutterRenderer")
@@ -82,6 +110,13 @@
   (gtype-id "GTK_TYPE_SOURCE_GUTTER_RENDERER_TEXT")
 )
 
+(define-object SourceGutterRendererLines
+  (in-module "Gtk")
+  (parent "GtkSourceGutterRendererText")
+  (c-name "GtkSourceGutterRendererLines")
+  (gtype-id "GTK_TYPE_SOURCE_GUTTER_RENDERER_LINES")
+)
+
 (define-object SourceLanguage
   (in-module "Gtk")
   (parent "GObject")
@@ -110,6 +145,13 @@
   (gtype-id "GTK_TYPE_SOURCE_MARK_ATTRIBUTES")
 )
 
+(define-object SourceMarksSequence
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkSourceMarksSequence")
+  (gtype-id "GTK_TYPE_SOURCE_MARKS_SEQUENCE")
+)
+
 (define-object SourcePrintCompositor
   (in-module "Gtk")
   (parent "GObject")
@@ -117,6 +159,20 @@
   (gtype-id "GTK_TYPE_SOURCE_PRINT_COMPOSITOR")
 )
 
+(define-object SourceSearchContext
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkSourceSearchContext")
+  (gtype-id "GTK_TYPE_SOURCE_SEARCH_CONTEXT")
+)
+
+(define-object SourceSearchSettings
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkSourceSearchSettings")
+  (gtype-id "GTK_TYPE_SOURCE_SEARCH_SETTINGS")
+)
+
 (define-object SourceStyleScheme
   (in-module "Gtk")
   (parent "GObject")
@@ -137,6 +193,13 @@
   (gtype-id "GTK_TYPE_SOURCE_UNDO_MANAGER")
 )
 
+(define-object SourceUndoManagerDefault
+  (in-module "Gtk")
+  (parent "GObject")
+  (c-name "GtkSourceUndoManagerDefault")
+  (gtype-id "GTK_TYPE_SOURCE_UNDO_MANAGER_DEFAULT")
+)
+
 (define-object SourceView
   (in-module "Gtk")
   (parent "GtkTextView")
@@ -158,6 +221,18 @@
   )
 )
 
+(define-enum SourceChangeCaseType
+  (in-module "Gtk")
+  (c-name "GtkSourceChangeCaseType")
+  (gtype-id "GTK_TYPE_SOURCE_CHANGE_CASE_TYPE")
+  (values
+    '("lower" "GTK_SOURCE_CHANGE_CASE_LOWER")
+    '("upper" "GTK_SOURCE_CHANGE_CASE_UPPER")
+    '("toggle" "GTK_SOURCE_CHANGE_CASE_TOGGLE")
+    '("title" "GTK_SOURCE_CHANGE_CASE_TITLE")
+  )
+)
+
 (define-flags SourceCompletionActivation
   (in-module "Gtk")
   (c-name "GtkSourceCompletionActivation")
@@ -179,6 +254,31 @@
   )
 )
 
+(define-flags SourceContextFlags
+  (in-module "Gtk")
+  (c-name "GtkSourceContextFlags")
+  (gtype-id "GTK_TYPE_SOURCE_CONTEXT_FLAGS")
+  (values
+    '("extend-parent" "GTK_SOURCE_CONTEXT_EXTEND_PARENT")
+    '("end-parent" "GTK_SOURCE_CONTEXT_END_PARENT")
+    '("end-at-line-end" "GTK_SOURCE_CONTEXT_END_AT_LINE_END")
+    '("first-line-only" "GTK_SOURCE_CONTEXT_FIRST_LINE_ONLY")
+    '("once-only" "GTK_SOURCE_CONTEXT_ONCE_ONLY")
+    '("style-inside" "GTK_SOURCE_CONTEXT_STYLE_INSIDE")
+  )
+)
+
+(define-flags SourceContextRefOptions
+  (in-module "Gtk")
+  (c-name "GtkSourceContextRefOptions")
+  (gtype-id "GTK_TYPE_SOURCE_CONTEXT_REF_OPTIONS")
+  (values
+    '("ignore-style" "GTK_SOURCE_CONTEXT_IGNORE_STYLE")
+    '("override-style" "GTK_SOURCE_CONTEXT_OVERRIDE_STYLE")
+    '("ref-original" "GTK_SOURCE_CONTEXT_REF_ORIGINAL")
+  )
+)
+
 (define-flags SourceGutterRendererState
   (in-module "Gtk")
   (c-name "GtkSourceGutterRendererState")
@@ -487,6 +587,17 @@
   )
 )
 
+(define-method change_case
+  (of-object "GtkSourceBuffer")
+  (c-name "gtk_source_buffer_change_case")
+  (return-type "none")
+  (parameters
+    '("GtkSourceChangeCaseType" "case_type")
+    '("GtkTextIter*" "start")
+    '("GtkTextIter*" "end")
+  )
+)
+
 (define-method get_undo_manager
   (of-object "GtkSourceBuffer")
   (c-name "gtk_source_buffer_get_undo_manager")
@@ -504,6 +615,14 @@
 
 
 
+;; From gtksourcebuffer-private.h
+
+
+
+;; From gtksourcecompletioncontainer.h
+
+
+
 ;; From gtksourcecompletioncontext.h
 
 (define-function gtk_source_completion_context_get_type
@@ -599,6 +718,12 @@
   (return-type "GtkSourceCompletionInfo*")
 )
 
+(define-method get_view
+  (of-object "GtkSourceCompletion")
+  (c-name "gtk_source_completion_get_view")
+  (return-type "GtkSourceView*")
+)
+
 (define-method create_context
   (of-object "GtkSourceCompletion")
   (c-name "gtk_source_completion_create_context")
@@ -713,6 +838,13 @@
 )
 
 
+;; From gtksourcecompletionmodel.h
+
+
+
+;; From gtksourcecompletion-private.h
+
+
 
 ;; From gtksourcecompletionproposal.h
 
@@ -871,6 +1003,14 @@
 
 
 
+;; From gtksourcecontextengine.h
+
+
+
+;; From gtksourceengine.h
+
+
+
 ;; From gtksourcegutter.h
 
 (define-function gtk_source_gutter_get_type
@@ -951,6 +1091,10 @@
 
 
 
+;; From gtksourcegutter-private.h
+
+
+
 ;; From gtksourcegutterrenderer.h
 
 (define-function gtk_source_gutter_renderer_get_type
@@ -1160,6 +1304,14 @@
 
 
 
+;; From gtksourcegutterrendererlines.h
+
+
+
+;; From gtksourcegutterrenderermarks.h
+
+
+
 ;; From gtksourcegutterrendererpixbuf.h
 
 (define-function gtk_source_gutter_renderer_pixbuf_get_type
@@ -1235,6 +1387,10 @@
 
 
 
+;; From gtksourcegutterrenderer-private.h
+
+
+
 ;; From gtksourcegutterrenderertext.h
 
 (define-function gtk_source_gutter_renderer_text_get_type
@@ -1363,6 +1519,15 @@
   )
 )
 
+(define-method get_style_fallback
+  (of-object "GtkSourceLanguage")
+  (c-name "gtk_source_language_get_style_fallback")
+  (return-type "const-gchar*")
+  (parameters
+    '("const-gchar*" "style_id")
+  )
+)
+
 
 
 ;; From gtksourcelanguagemanager.h
@@ -1383,6 +1548,12 @@
   (return-type "GtkSourceLanguageManager*")
 )
 
+(define-method get_search_path
+  (of-object "GtkSourceLanguageManager")
+  (c-name "gtk_source_language_manager_get_search_path")
+  (return-type "const-gchar*-const*")
+)
+
 (define-method set_search_path
   (of-object "GtkSourceLanguageManager")
   (c-name "gtk_source_language_manager_set_search_path")
@@ -1392,6 +1563,12 @@
   )
 )
 
+(define-method get_language_ids
+  (of-object "GtkSourceLanguageManager")
+  (c-name "gtk_source_language_manager_get_language_ids")
+  (return-type "const-gchar*-const*")
+)
+
 (define-method get_language
   (of-object "GtkSourceLanguageManager")
   (c-name "gtk_source_language_manager_get_language")
@@ -1413,6 +1590,10 @@
 
 
 
+;; From gtksourcelanguage-private.h
+
+
+
 ;; From gtksourcemarkattributes.h
 
 (define-function gtk_source_mark_attributes_get_type
@@ -1577,6 +1758,14 @@
 
 
 
+;; From gtksourcemarkssequence.h
+
+
+
+;; From gtksourcepixbufhelper.h
+
+
+
 ;; From gtksourceprintcompositor.h
 
 (define-function gtk_source_print_compositor_get_type
@@ -1890,6 +2079,271 @@
 
 
 
+;; From gtksourceregex.h
+
+
+
+;; From gtksourcesearchcontext.h
+
+(define-function gtk_source_search_context_get_type
+  (c-name "gtk_source_search_context_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_source_search_context_new
+  (c-name "gtk_source_search_context_new")
+  (is-constructor-of "GtkSourceSearchContext")
+  (return-type "GtkSourceSearchContext*")
+  (parameters
+    '("GtkSourceBuffer*" "buffer")
+    '("GtkSourceSearchSettings*" "settings")
+  )
+)
+
+(define-method get_buffer
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_get_buffer")
+  (return-type "GtkSourceBuffer*")
+)
+
+(define-method get_settings
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_get_settings")
+  (return-type "GtkSourceSearchSettings*")
+)
+
+(define-method set_settings
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_set_settings")
+  (return-type "none")
+  (parameters
+    '("GtkSourceSearchSettings*" "settings")
+  )
+)
+
+(define-method get_highlight
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_get_highlight")
+  (return-type "gboolean")
+)
+
+(define-method set_highlight
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_set_highlight")
+  (return-type "none")
+  (parameters
+    '("gboolean" "highlight")
+  )
+)
+
+(define-method get_regex_error
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_get_regex_error")
+  (return-type "GError*")
+)
+
+(define-method get_occurrences_count
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_get_occurrences_count")
+  (return-type "gint")
+)
+
+(define-method get_occurrence_position
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_get_occurrence_position")
+  (return-type "gint")
+  (parameters
+    '("const-GtkTextIter*" "match_start")
+    '("const-GtkTextIter*" "match_end")
+  )
+)
+
+(define-method forward
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_forward")
+  (return-type "gboolean")
+  (parameters
+    '("const-GtkTextIter*" "iter")
+    '("GtkTextIter*" "match_start")
+    '("GtkTextIter*" "match_end")
+  )
+)
+
+(define-method forward_async
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_forward_async")
+  (return-type "none")
+  (parameters
+    '("const-GtkTextIter*" "iter")
+    '("GCancellable*" "cancellable")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method forward_finish
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_forward_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GtkTextIter*" "match_start")
+    '("GtkTextIter*" "match_end")
+    '("GError**" "error")
+  )
+)
+
+(define-method backward
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_backward")
+  (return-type "gboolean")
+  (parameters
+    '("const-GtkTextIter*" "iter")
+    '("GtkTextIter*" "match_start")
+    '("GtkTextIter*" "match_end")
+  )
+)
+
+(define-method backward_async
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_backward_async")
+  (return-type "none")
+  (parameters
+    '("const-GtkTextIter*" "iter")
+    '("GCancellable*" "cancellable")
+    '("GAsyncReadyCallback" "callback")
+    '("gpointer" "user_data")
+  )
+)
+
+(define-method backward_finish
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_backward_finish")
+  (return-type "gboolean")
+  (parameters
+    '("GAsyncResult*" "result")
+    '("GtkTextIter*" "match_start")
+    '("GtkTextIter*" "match_end")
+    '("GError**" "error")
+  )
+)
+
+(define-method replace
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_replace")
+  (return-type "gboolean")
+  (parameters
+    '("const-GtkTextIter*" "match_start")
+    '("const-GtkTextIter*" "match_end")
+    '("const-gchar*" "replace")
+    '("gint" "replace_length")
+    '("GError**" "error")
+  )
+)
+
+(define-method replace_all
+  (of-object "GtkSourceSearchContext")
+  (c-name "gtk_source_search_context_replace_all")
+  (return-type "guint")
+  (parameters
+    '("const-gchar*" "replace")
+    '("gint" "replace_length")
+    '("GError**" "error")
+  )
+)
+
+
+
+;; From gtksourcesearchsettings.h
+
+(define-function gtk_source_search_settings_get_type
+  (c-name "gtk_source_search_settings_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_source_search_settings_new
+  (c-name "gtk_source_search_settings_new")
+  (is-constructor-of "GtkSourceSearchSettings")
+  (return-type "GtkSourceSearchSettings*")
+)
+
+(define-method set_search_text
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_set_search_text")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "search_text")
+  )
+)
+
+(define-method get_search_text
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_get_search_text")
+  (return-type "const-gchar*")
+)
+
+(define-method set_case_sensitive
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_set_case_sensitive")
+  (return-type "none")
+  (parameters
+    '("gboolean" "case_sensitive")
+  )
+)
+
+(define-method get_case_sensitive
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_get_case_sensitive")
+  (return-type "gboolean")
+)
+
+(define-method set_at_word_boundaries
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_set_at_word_boundaries")
+  (return-type "none")
+  (parameters
+    '("gboolean" "at_word_boundaries")
+  )
+)
+
+(define-method get_at_word_boundaries
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_get_at_word_boundaries")
+  (return-type "gboolean")
+)
+
+(define-method set_wrap_around
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_set_wrap_around")
+  (return-type "none")
+  (parameters
+    '("gboolean" "wrap_around")
+  )
+)
+
+(define-method get_wrap_around
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_get_wrap_around")
+  (return-type "gboolean")
+)
+
+(define-method set_regex_enabled
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_set_regex_enabled")
+  (return-type "none")
+  (parameters
+    '("gboolean" "regex_enabled")
+  )
+)
+
+(define-method get_regex_enabled
+  (of-object "GtkSourceSearchSettings")
+  (c-name "gtk_source_search_settings_get_regex_enabled")
+  (return-type "gboolean")
+)
+
+
+
 ;; From gtksourcestyle.h
 
 (define-function gtk_source_style_get_type
@@ -1905,6 +2359,10 @@
 
 
 
+;; From gtksourcestyle-private.h
+
+
+
 ;; From gtksourcestylescheme.h
 
 (define-function gtk_source_style_scheme_get_type
@@ -1930,6 +2388,12 @@
   (return-type "const-gchar*")
 )
 
+(define-method get_authors
+  (of-object "GtkSourceStyleScheme")
+  (c-name "gtk_source_style_scheme_get_authors")
+  (return-type "const-gchar*-const*")
+)
+
 (define-method get_filename
   (of-object "GtkSourceStyleScheme")
   (c-name "gtk_source_style_scheme_get_filename")
@@ -1992,12 +2456,24 @@
   )
 )
 
+(define-method get_search_path
+  (of-object "GtkSourceStyleSchemeManager")
+  (c-name "gtk_source_style_scheme_manager_get_search_path")
+  (return-type "const-gchar*-const*")
+)
+
 (define-method force_rescan
   (of-object "GtkSourceStyleSchemeManager")
   (c-name "gtk_source_style_scheme_manager_force_rescan")
   (return-type "none")
 )
 
+(define-method get_scheme_ids
+  (of-object "GtkSourceStyleSchemeManager")
+  (c-name "gtk_source_style_scheme_manager_get_scheme_ids")
+  (return-type "const-gchar*-const*")
+)
+
 (define-method get_scheme
   (of-object "GtkSourceStyleSchemeManager")
   (c-name "gtk_source_style_scheme_manager_get_scheme")
@@ -2009,6 +2485,18 @@
 
 
 
+;; From gtksourcetypes.h
+
+
+
+;; From gtksourcetypes-private.h
+
+
+
+;; From gtksourceundomanagerdefault.h
+
+
+
 ;; From gtksourceundomanager.h
 
 (define-function gtk_source_undo_manager_get_type
@@ -2066,6 +2554,26 @@
 
 
 
+;; From gtksourceutils.h
+
+(define-function gtk_source_utils_unescape_search_text
+  (c-name "gtk_source_utils_unescape_search_text")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "text")
+  )
+)
+
+(define-function gtk_source_utils_escape_search_text
+  (c-name "gtk_source_utils_escape_search_text")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "text")
+  )
+)
+
+
+
 ;; From gtksourceview.h
 
 (define-function gtk_source_view_get_type
@@ -2314,6 +2822,14 @@
 
 
 
+;; From gtksourceview-i18n.h
+
+
+
+;; From gtksourceview-marshal.h
+
+
+
 ;; From gtksourceview-typebuiltins.h
 
 (define-function gtk_source_bracket_match_type_get_type
@@ -2359,3 +2875,14 @@
 )
 
 
+;; From gtksourceview-utils.h
+
+
+
+;; From gtktextregion.h
+
+
+
+;; From stamp-gtksourceview-typebuiltins.h
+
+


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