[gtksourceviewmm] Wrapped gtk_source_gutter_get_renderer_at_pos.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Wrapped gtk_source_gutter_get_renderer_at_pos.
- Date: Wed, 24 Aug 2011 14:00:08 +0000 (UTC)
commit 84f559117756267ed9d6af5629d188664700691d
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Tue Aug 2 09:51:48 2011 +0200
Wrapped gtk_source_gutter_get_renderer_at_pos.
* gtksourceview/src/gtksourceview_docs.xml:
* gtksourceview/src/gtksourceview_methods.defs:
* gtksourceview/src/gtksourceview_signals.defs: Regenerated.
* gtksourceview/src/gutter.hg: Added new methods.
* codegen/m4/convert_gtksourceview.m4: Added needed conversion.
codegen/m4/convert_gtksourceview.m4 | 4 +
gtksourceview/src/gtksourceview_docs.xml | 24 +
gtksourceview/src/gtksourceview_methods.defs | 14 +
gtksourceview/src/gtksourceview_signals.defs | 2225 +++++---------------------
gtksourceview/src/gutter.hg | 4 +
5 files changed, 470 insertions(+), 1801 deletions(-)
---
diff --git a/codegen/m4/convert_gtksourceview.m4 b/codegen/m4/convert_gtksourceview.m4
index 4a66520..d160f6b 100644
--- a/codegen/m4/convert_gtksourceview.m4
+++ b/codegen/m4/convert_gtksourceview.m4
@@ -59,6 +59,10 @@ _CONVERSION(`GtkSourceGutter*',`Glib::RefPtr<Gutter>',`Glib::wrap($3)')
_CONVERSION(`GutterRenderer*',`GtkSourceGutterRenderer*',`($3)->gobj()')
+# GtkSourceGutterRenderer -> Gsv::GutterRenderer
+_CONVERSION(`GtkSourceGutterRenderer*',`GutterRenderer*',`Glib::wrap($3)')
+
+
# GtkSourceLanguage -> Gsv::Language
_CONVERSION(`GtkSourceLanguage*',`Glib::RefPtr<Language>',`Glib::wrap($3)')
diff --git a/gtksourceview/src/gtksourceview_docs.xml b/gtksourceview/src/gtksourceview_docs.xml
index 198f9c6..140aa53 100644
--- a/gtksourceview/src/gtksourceview_docs.xml
+++ b/gtksourceview/src/gtksourceview_docs.xml
@@ -2751,6 +2751,30 @@ is analyzed/highlighted.
<return></return>
</function>
+<function name="gtk_source_gutter_get_renderer_at_pos">
+<description>
+Finds the #GtkSourceGutterRenderer at (x, y).
+
+
+</description>
+<parameters>
+<parameter name="gutter">
+<parameter_description> A #GtkSourceGutter.
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> The x position to get identified.
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> The y position to get identified.
+</parameter_description>
+</parameter>
+</parameters>
+<return> the renderer at (x, y) or %NULL.
+</return>
+</function>
+
<function name="gtk_source_gutter_get_window">
<description>
Get the #GdkWindow of the gutter. The window will only be available when the
diff --git a/gtksourceview/src/gtksourceview_methods.defs b/gtksourceview/src/gtksourceview_methods.defs
index 0a3c962..cdc7f85 100644
--- a/gtksourceview/src/gtksourceview_methods.defs
+++ b/gtksourceview/src/gtksourceview_methods.defs
@@ -939,6 +939,16 @@
)
)
+(define-method get_renderer_at_pos
+ (of-object "GtkSourceGutter")
+ (c-name "gtk_source_gutter_get_renderer_at_pos")
+ (return-type "GtkSourceGutterRenderer*")
+ (parameters
+ '("gint" "x")
+ '("gint" "y")
+ )
+)
+
;; From gtksourcegutterrenderer.h
@@ -1282,6 +1292,10 @@
+;; From gtksource.h
+
+
+
;; From gtksourcelanguage.h
(define-function gtk_source_language_get_type
diff --git a/gtksourceview/src/gtksourceview_signals.defs b/gtksourceview/src/gtksourceview_signals.defs
index 1f29be7..3819192 100644
--- a/gtksourceview/src/gtksourceview_signals.defs
+++ b/gtksourceview/src/gtksourceview_signals.defs
@@ -41,60 +41,6 @@
)
)
-(define-property tag-table
- (of-object "GtkSourceBuffer")
- (prop-type "GParamObject")
- (docs "Text Tag Table")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property text
- (of-object "GtkSourceBuffer")
- (prop-type "GParamString")
- (docs "Current text of the buffer")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property has-selection
- (of-object "GtkSourceBuffer")
- (prop-type "GParamBoolean")
- (docs "Whether the buffer has some text currently selected")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property cursor-position
- (of-object "GtkSourceBuffer")
- (prop-type "GParamInt")
- (docs "The position of the insert mark (as offset from the beginning of the buffer)")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property copy-target-list
- (of-object "GtkSourceBuffer")
- (prop-type "GParamBoxed")
- (docs "The list of targets this buffer supports for clipboard copying and DND source")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property paste-target-list
- (of-object "GtkSourceBuffer")
- (prop-type "GParamBoxed")
- (docs "The list of targets this buffer supports for clipboard pasting and DND destination")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
(define-property can-undo
(of-object "GtkSourceBuffer")
(prop-type "GParamBoolean")
@@ -340,2136 +286,813 @@
(when "last")
)
-(define-property name
- (of-object "GtkSourceCompletionInfo")
+;; From GtkSourceCompletionItem
+
+(define-property label
+ (of-object "GtkSourceCompletionItem")
(prop-type "GParamString")
- (docs "The name of the widget")
+ (docs "Label to be shown for this item")
(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 markup
+ (of-object "GtkSourceCompletionItem")
+ (prop-type "GParamString")
+ (docs "Markup to be shown for this item")
(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 text
+ (of-object "GtkSourceCompletionItem")
+ (prop-type "GParamString")
+ (docs "Item text")
(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 icon
+ (of-object "GtkSourceCompletionItem")
+ (prop-type "GParamObject")
+ (docs "Icon to be shown for this item")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property visible
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is visible")
+(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-property sensitive
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget responds to input")
- (readable #t)
- (writable #t)
- (construct-only #f)
+;; From GtkSourceCompletionProposal
+
+(define-signal changed
+ (of-object "GtkSourceCompletionProposal")
+ (return-type "void")
+ (when "last")
)
-(define-property app-paintable
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the application will paint directly on the widget")
+;; From GtkSourceCompletionProvider
+
+;; From GtkSourceGutter
+
+(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 can-focus
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget can accept the input focus")
+(define-property window-type
+ (of-object "GtkSourceGutter")
+ (prop-type "GParamEnum")
+ (docs "The gutters text window type")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property has-focus
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget has the input focus")
+(define-property xpad
+ (of-object "GtkSourceGutter")
+ (prop-type "GParamInt")
+ (docs "The x-padding")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property is-focus
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is the focus widget within the toplevel")
+(define-property ypad
+ (of-object "GtkSourceGutter")
+ (prop-type "GParamInt")
+ (docs "The y-padding")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property can-default
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget can be the default widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
+;; From GtkSourceGutterRenderer
+
+(define-signal query-tooltip
+ (of-object "GtkSourceGutterRenderer")
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+ '("GtkTextIter*" "p0")
+ '("GdkRectangle*" "p1")
+ '("gint" "p2")
+ '("gint" "p3")
+ '("GtkTooltip*" "p4")
+ )
)
-(define-property has-default
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is the default widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
+(define-signal activate
+ (of-object "GtkSourceGutterRenderer")
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("GtkTextIter*" "p0")
+ '("GdkRectangle*" "p1")
+ '("GdkEvent*" "p2")
+ )
)
-(define-property receives-default
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "If TRUE, the widget will receive the default action when it is focused")
- (readable #t)
- (writable #t)
- (construct-only #f)
+(define-signal queue-draw
+ (of-object "GtkSourceGutterRenderer")
+ (return-type "void")
+ (when "last")
)
-(define-property composite-child
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is part of a composite widget")
- (readable #t)
- (writable #f)
- (construct-only #f)
+(define-signal query-data
+ (of-object "GtkSourceGutterRenderer")
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("GtkTextIter*" "p0")
+ '("GtkTextIter*" "p1")
+ '("GtkSourceGutterRendererState" "p2")
+ )
)
-(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)")
- (readable #t)
- (writable #t)
- (construct-only #f)
+(define-signal query-activatable
+ (of-object "GtkSourceGutterRenderer")
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+ '("GtkTextIter*" "p0")
+ '("GdkRectangle*" "p1")
+ '("GdkEvent*" "p2")
+ )
)
-(define-property events
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamFlags")
- (docs "The event mask that decides what kind of GdkEvents this widget gets")
+(define-property visible
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamBoolean")
+ (docs "Visible")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property no-show-all
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether gtk_widget_show_all() should not affect this widget")
+(define-property xpad
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamInt")
+ (docs "The x-padding")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property has-tooltip
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether this widget has a tooltip")
+(define-property ypad
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamInt")
+ (docs "The y-padding")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property tooltip-markup
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamString")
- (docs "The contents of the tooltip for this widget")
+(define-property xalign
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamFloat")
+ (docs "The x-alignment")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property tooltip-text
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamString")
- (docs "The contents of the tooltip for this widget")
+(define-property yalign
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamFloat")
+ (docs "The y-alignment")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property window
- (of-object "GtkSourceCompletionInfo")
+(define-property view
+ (of-object "GtkSourceGutterRenderer")
(prop-type "GParamObject")
- (docs "The widget's window if it is realized")
+ (docs "The view")
(readable #t)
(writable #f)
(construct-only #f)
)
-(define-property double-buffered
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is double buffered")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property halign
- (of-object "GtkSourceCompletionInfo")
+(define-property alignment-mode
+ (of-object "GtkSourceGutterRenderer")
(prop-type "GParamEnum")
- (docs "How to position in extra horizontal space")
+ (docs "The alignment mode")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property valign
- (of-object "GtkSourceCompletionInfo")
+(define-property window-type
+ (of-object "GtkSourceGutterRenderer")
(prop-type "GParamEnum")
- (docs "How to position in extra vertical space")
+ (docs "The window type")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property margin-left
- (of-object "GtkSourceCompletionInfo")
+(define-property size
+ (of-object "GtkSourceGutterRenderer")
(prop-type "GParamInt")
- (docs "Pixels of extra space on the left side")
+ (docs "The size")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property margin-right
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the right side")
+(define-property background-rgba
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamBoxed")
+ (docs "The background color")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property margin-top
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the top side")
+(define-property background-set
+ (of-object "GtkSourceGutterRenderer")
+ (prop-type "GParamBoolean")
+ (docs "Whether the background color is set")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property margin-bottom
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the bottom side")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property margin
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on all four sides")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
+;; From GtkSourceGutterRendererPixbuf
-(define-property hexpand
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether widget wants more horizontal space")
+(define-property pixbuf
+ (of-object "GtkSourceGutterRendererPixbuf")
+ (prop-type "GParamObject")
+ (docs "The pixbuf")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property vexpand
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether widget wants more vertical space")
+(define-property stock-id
+ (of-object "GtkSourceGutterRendererPixbuf")
+ (prop-type "GParamString")
+ (docs "The stock id")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property hexpand-set
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether to use the hexpand property")
+(define-property icon-name
+ (of-object "GtkSourceGutterRendererPixbuf")
+ (prop-type "GParamString")
+ (docs "The icon name")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property vexpand-set
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether to use the vexpand property")
+(define-property gicon
+ (of-object "GtkSourceGutterRendererPixbuf")
+ (prop-type "GParamObject")
+ (docs "The gicon")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property expand
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether widget wants to expand in both directions")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
+;; From GtkSourceGutterRendererText
-(define-property border-width
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamUInt")
- (docs "The width of the empty border outside the containers children")
+(define-property markup
+ (of-object "GtkSourceGutterRendererText")
+ (prop-type "GParamString")
+ (docs "The markup")
(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 text
+ (of-object "GtkSourceGutterRendererText")
+ (prop-type "GParamString")
+ (docs "The text")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property child
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamObject")
- (docs "Can be used to add a new child to the container")
- (readable #f)
- (writable #t)
- (construct-only #f)
-)
+;; From GtkSourceLanguage
-(define-property type
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamEnum")
- (docs "The type of the window")
+(define-property id
+ (of-object "GtkSourceLanguage")
+ (prop-type "GParamString")
+ (docs "Language id")
(readable #t)
- (writable #t)
- (construct-only #t)
+ (writable #f)
+ (construct-only #f)
)
-(define-property title
- (of-object "GtkSourceCompletionInfo")
+(define-property name
+ (of-object "GtkSourceLanguage")
(prop-type "GParamString")
- (docs "The title of the window")
+ (docs "Language name")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property role
- (of-object "GtkSourceCompletionInfo")
+(define-property section
+ (of-object "GtkSourceLanguage")
(prop-type "GParamString")
- (docs "Unique identifier for the window to be used when restoring a session")
+ (docs "Language section")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property resizable
- (of-object "GtkSourceCompletionInfo")
+(define-property hidden
+ (of-object "GtkSourceLanguage")
(prop-type "GParamBoolean")
- (docs "If TRUE, users can resize the window")
+ (docs "Whether the language should be hidden from the user")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(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)")
+;; 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 window-position
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamEnum")
- (docs "The initial position of the window")
+(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 default-width
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamInt")
- (docs "The default width of the window, used when initially showing the window")
+;; From GtkSourceMark
+
+(define-property category
+ (of-object "GtkSourceMark")
+ (prop-type "GParamString")
+ (docs "The mark category")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property default-height
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamInt")
- (docs "The default height of the window, used when initially showing the window")
+;; From GtkSourceMarkAttributes
+
+(define-signal query-tooltip-text
+ (of-object "GtkSourceMarkAttributes")
+ (return-type "const-gchar*")
+ (when "last")
+ (parameters
+ '("GtkSourceMark*" "p0")
+ )
+)
+
+(define-signal query-tooltip-markup
+ (of-object "GtkSourceMarkAttributes")
+ (return-type "const-gchar*")
+ (when "last")
+ (parameters
+ '("GtkSourceMark*" "p0")
+ )
+)
+
+(define-property background
+ (of-object "GtkSourceMarkAttributes")
+ (prop-type "GParamBoxed")
+ (docs "The background")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property destroy-with-parent
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "If this window should be destroyed when the parent is destroyed")
+(define-property stock-id
+ (of-object "GtkSourceMarkAttributes")
+ (prop-type "GParamString")
+ (docs "The stock id")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property icon
- (of-object "GtkSourceCompletionInfo")
+(define-property pixbuf
+ (of-object "GtkSourceMarkAttributes")
(prop-type "GParamObject")
- (docs "Icon for this window")
+ (docs "The pixbuf")
(readable #t)
(writable #t)
(construct-only #f)
)
(define-property icon-name
- (of-object "GtkSourceCompletionInfo")
+ (of-object "GtkSourceMarkAttributes")
(prop-type "GParamString")
- (docs "Name of the themed icon for this window")
+ (docs "The icon name")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property screen
- (of-object "GtkSourceCompletionInfo")
+(define-property gicon
+ (of-object "GtkSourceMarkAttributes")
(prop-type "GParamObject")
- (docs "The screen where this window will be displayed")
+ (docs "The GIcon")
(readable #t)
(writable #t)
(construct-only #f)
)
-(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)
-)
+;; From GtkSourcePrintCompositor
-(define-property skip-taskbar-hint
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "TRUE if the window should not be in the task bar.")
+(define-property buffer
+ (of-object "GtkSourcePrintCompositor")
+ (prop-type "GParamObject")
+ (docs "The GtkSourceBuffer object to print")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property skip-pager-hint
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "TRUE if the window should not be in the pager.")
+(define-property tab-width
+ (of-object "GtkSourcePrintCompositor")
+ (prop-type "GParamUInt")
+ (docs "Width of a tab character expressed in spaces")
(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 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 accept-focus
- (of-object "GtkSourceCompletionInfo")
+(define-property highlight-syntax
+ (of-object "GtkSourcePrintCompositor")
(prop-type "GParamBoolean")
- (docs "TRUE if the window should receive the input focus.")
+ (docs "Whether to print the document with highlighted syntax")
(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 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-property decorated
- (of-object "GtkSourceCompletionInfo")
+(define-property print-header
+ (of-object "GtkSourcePrintCompositor")
(prop-type "GParamBoolean")
- (docs "Whether the window should be decorated by the window manager")
+ (docs "Whether to print a header in each page")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property deletable
- (of-object "GtkSourceCompletionInfo")
+(define-property print-footer
+ (of-object "GtkSourcePrintCompositor")
(prop-type "GParamBoolean")
- (docs "Whether the window frame should have a close button")
+ (docs "Whether to print a footer in each page")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property gravity
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamEnum")
- (docs "The window gravity of the window")
+(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')")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property transient-for
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamObject")
- (docs "The transient parent of the dialog")
+(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 opacity
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamDouble")
- (docs "The opacity of the window, from 0 to 1")
+(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 has-resize-grip
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Specifies whether the window should have a resize grip")
+(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 resize-grip-visible
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Specifies whether the window's resize grip 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 #f)
(construct-only #f)
)
-(define-property application
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamObject")
- (docs "The GtkApplication for the window")
+;; 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 is-active
- (of-object "GtkSourceCompletionInfo")
+(define-property line-background-set
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether the toplevel is the current active window")
+ (docs "Whether line background color is set")
(readable #t)
- (writable #f)
- (construct-only #f)
+ (writable #t)
+ (construct-only #t)
)
-(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 mnemonics-visible
- (of-object "GtkSourceCompletionInfo")
- (prop-type "GParamBoolean")
- (docs "Whether mnemonics are currently visible in this window")
- (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")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(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-property text
- (of-object "GtkSourceCompletionItem")
- (prop-type "GParamString")
- (docs "Item text")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(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-property info
- (of-object "GtkSourceCompletionItem")
- (prop-type "GParamString")
- (docs "Info to be shown for this item")
- (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-property view
- (of-object "GtkSourceGutter")
- (prop-type "GParamObject")
- (docs "The gutters' GtkSourceView")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(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 xpad
- (of-object "GtkSourceGutter")
- (prop-type "GParamInt")
- (docs "The x-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property ypad
- (of-object "GtkSourceGutter")
- (prop-type "GParamInt")
- (docs "The y-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-;; From GtkSourceGutterRenderer
-
-(define-signal query-tooltip
- (of-object "GtkSourceGutterRenderer")
- (return-type "gboolean")
- (when "last")
- (parameters
- '("GtkTextIter*" "p0")
- '("GdkRectangle*" "p1")
- '("gint" "p2")
- '("gint" "p3")
- '("GtkTooltip*" "p4")
- )
-)
-
-(define-signal activate
- (of-object "GtkSourceGutterRenderer")
- (return-type "void")
- (when "last")
- (parameters
- '("GtkTextIter*" "p0")
- '("GdkRectangle*" "p1")
- '("GdkEvent*" "p2")
- )
-)
-
-(define-signal queue-draw
- (of-object "GtkSourceGutterRenderer")
- (return-type "void")
- (when "last")
-)
-
-(define-signal query-data
- (of-object "GtkSourceGutterRenderer")
- (return-type "void")
- (when "last")
- (parameters
- '("GtkTextIter*" "p0")
- '("GtkTextIter*" "p1")
- '("GtkSourceGutterRendererState" "p2")
- )
-)
-
-(define-signal query-activatable
- (of-object "GtkSourceGutterRenderer")
- (return-type "gboolean")
- (when "last")
- (parameters
- '("GtkTextIter*" "p0")
- '("GdkRectangle*" "p1")
- '("GdkEvent*" "p2")
- )
-)
-
-(define-property visible
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamBoolean")
- (docs "Visible")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property xpad
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamInt")
- (docs "The x-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property ypad
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamInt")
- (docs "The y-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property xalign
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamFloat")
- (docs "The x-alignment")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property yalign
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamFloat")
- (docs "The y-alignment")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property view
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamObject")
- (docs "The view")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property alignment-mode
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamEnum")
- (docs "The alignment mode")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property window-type
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamEnum")
- (docs "The window type")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property size
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamInt")
- (docs "The size")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property background-rgba
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamBoxed")
- (docs "The background color")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property background-set
- (of-object "GtkSourceGutterRenderer")
- (prop-type "GParamBoolean")
- (docs "Whether the background color is set")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-;; From GtkSourceGutterRendererPixbuf
-
-(define-property visible
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamBoolean")
- (docs "Visible")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property xpad
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamInt")
- (docs "The x-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property ypad
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamInt")
- (docs "The y-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property xalign
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamFloat")
- (docs "The x-alignment")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property yalign
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamFloat")
- (docs "The y-alignment")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property view
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamObject")
- (docs "The view")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property alignment-mode
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamEnum")
- (docs "The alignment mode")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property window-type
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamEnum")
- (docs "The window type")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property size
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamInt")
- (docs "The size")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property background-rgba
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamBoxed")
- (docs "The background color")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property background-set
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamBoolean")
- (docs "Whether the background color is set")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property pixbuf
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamObject")
- (docs "The pixbuf")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property stock-id
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamString")
- (docs "The stock id")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property icon-name
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamString")
- (docs "The icon name")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property gicon
- (of-object "GtkSourceGutterRendererPixbuf")
- (prop-type "GParamObject")
- (docs "The gicon")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-;; From GtkSourceGutterRendererText
-
-(define-property visible
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamBoolean")
- (docs "Visible")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property xpad
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamInt")
- (docs "The x-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property ypad
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamInt")
- (docs "The y-padding")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property xalign
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamFloat")
- (docs "The x-alignment")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property yalign
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamFloat")
- (docs "The y-alignment")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property view
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamObject")
- (docs "The view")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property alignment-mode
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamEnum")
- (docs "The alignment mode")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property window-type
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamEnum")
- (docs "The window type")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property size
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamInt")
- (docs "The size")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property background-rgba
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamBoxed")
- (docs "The background color")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property background-set
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamBoolean")
- (docs "Whether the background color is set")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property markup
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamString")
- (docs "The markup")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property text
- (of-object "GtkSourceGutterRendererText")
- (prop-type "GParamString")
- (docs "The text")
- (readable #t)
- (writable #t)
- (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")
- (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
-
-(define-property name
- (of-object "GtkSourceMark")
- (prop-type "GParamString")
- (docs "Mark name")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(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-property category
- (of-object "GtkSourceMark")
- (prop-type "GParamString")
- (docs "The mark category")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-;; From GtkSourceMarkAttributes
-
-(define-signal query-tooltip-text
- (of-object "GtkSourceMarkAttributes")
- (return-type "const-gchar*")
- (when "last")
- (parameters
- '("GtkSourceMark*" "p0")
- )
-)
-
-(define-signal query-tooltip-markup
- (of-object "GtkSourceMarkAttributes")
- (return-type "const-gchar*")
- (when "last")
- (parameters
- '("GtkSourceMark*" "p0")
- )
-)
-
-(define-property background
- (of-object "GtkSourceMarkAttributes")
- (prop-type "GParamBoxed")
- (docs "The background")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property stock-id
- (of-object "GtkSourceMarkAttributes")
- (prop-type "GParamString")
- (docs "The stock id")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property pixbuf
- (of-object "GtkSourceMarkAttributes")
- (prop-type "GParamObject")
- (docs "The pixbuf")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property icon-name
- (of-object "GtkSourceMarkAttributes")
- (prop-type "GParamString")
- (docs "The icon name")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property gicon
- (of-object "GtkSourceMarkAttributes")
- (prop-type "GParamObject")
- (docs "The GIcon")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-;; From GtkSourcePrintCompositor
-
-(define-property buffer
- (of-object "GtkSourcePrintCompositor")
- (prop-type "GParamObject")
- (docs "The GtkSourceBuffer object to print")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property tab-width
- (of-object "GtkSourcePrintCompositor")
- (prop-type "GParamUInt")
- (docs "Width of a tab character expressed in spaces")
- (readable #t)
- (writable #t)
- (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.")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(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)
-)
-
-(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-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 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 body-font-name
- (of-object "GtkSourcePrintCompositor")
- (prop-type "GParamString")
- (docs "Name of the font to use for the text body (e.g. 'Monospace 10')")
- (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')")
- (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')")
- (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')")
- (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).")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-;; From GtkSourceStyle
-
-(define-property line-background
- (of-object "GtkSourceStyle")
- (prop-type "GParamString")
- (docs "Line background color")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(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-property background
- (of-object "GtkSourceStyle")
- (prop-type "GParamString")
- (docs "Background color")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property background-set
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Whether background color is set")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property foreground
- (of-object "GtkSourceStyle")
- (prop-type "GParamString")
- (docs "Foreground color")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property foreground-set
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Whether foreground color is set")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property bold
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Bold")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property bold-set
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Whether bold attribute is set")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property italic
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Italic")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property italic-set
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Whether italic attribute is set")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property underline
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Underline")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property underline-set
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Whether underline attribute is set")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property strikethrough
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Strikethrough")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property strikethrough-set
- (of-object "GtkSourceStyle")
- (prop-type "GParamBoolean")
- (docs "Whether strikethrough attribute is set")
- (readable #t)
- (writable #t)
- (construct-only #t)
-)
-
-;; From GtkSourceStyleScheme
-
-(define-property id
- (of-object "GtkSourceStyleScheme")
- (prop-type "GParamString")
- (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 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")
- (prop-type "GParamBoxed")
- (docs "List of directories and files where the style schemes are located")
- (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")
- (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 smart-home-end
- (of-object "GtkSourceView")
- (return-type "void")
- (when "last")
- (parameters
- '("GtkTextIter*" "p0")
- '("gint" "p1")
- )
-)
-
-(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-signal move-words
- (of-object "GtkSourceView")
- (return-type "void")
- (when "last")
- (parameters
- '("gint" "p0")
- )
-)
-
-(define-property hadjustment
- (of-object "GtkSourceView")
- (prop-type "GParamObject")
- (docs "Horizontal adjustment that is shared between the scrollable widget and its controller")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property hscroll-policy
- (of-object "GtkSourceView")
- (prop-type "GParamEnum")
- (docs "How the size of the content should be determined")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property vadjustment
- (of-object "GtkSourceView")
- (prop-type "GParamObject")
- (docs "Vertical adjustment that is shared between the scrollable widget and its controller")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property vscroll-policy
- (of-object "GtkSourceView")
- (prop-type "GParamEnum")
- (docs "How the size of the content should be determined")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property name
- (of-object "GtkSourceView")
- (prop-type "GParamString")
- (docs "The name of the widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property parent
- (of-object "GtkSourceView")
- (prop-type "GParamObject")
- (docs "The parent widget of this widget. Must be a Container widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(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 #f)
-)
-
-(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 visible
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is visible")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property sensitive
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the widget responds to input")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property app-paintable
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the application will paint directly on the widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property can-focus
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the widget can accept the input focus")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property has-focus
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the widget has the input focus")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(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 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 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 receives-default
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "If TRUE, the widget will receive the default action when it is focused")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property composite-child
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the widget is part of a composite widget")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(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 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 no-show-all
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether gtk_widget_show_all() should not affect this widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property has-tooltip
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether this widget has a tooltip")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(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 tooltip-text
- (of-object "GtkSourceView")
+(define-property background
+ (of-object "GtkSourceStyle")
(prop-type "GParamString")
- (docs "The contents of the tooltip for this widget")
+ (docs "Background color")
(readable #t)
(writable #t)
- (construct-only #f)
-)
-
-(define-property window
- (of-object "GtkSourceView")
- (prop-type "GParamObject")
- (docs "The widget's window if it is realized")
- (readable #t)
- (writable #f)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property double-buffered
- (of-object "GtkSourceView")
+(define-property background-set
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether the widget is double buffered")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property halign
- (of-object "GtkSourceView")
- (prop-type "GParamEnum")
- (docs "How to position in extra horizontal space")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property valign
- (of-object "GtkSourceView")
- (prop-type "GParamEnum")
- (docs "How to position in extra vertical space")
+ (docs "Whether background color is set")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property margin-left
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the left side")
+(define-property foreground
+ (of-object "GtkSourceStyle")
+ (prop-type "GParamString")
+ (docs "Foreground color")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property margin-right
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the right side")
+(define-property foreground-set
+ (of-object "GtkSourceStyle")
+ (prop-type "GParamBoolean")
+ (docs "Whether foreground color is set")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property margin-top
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the top side")
+(define-property bold
+ (of-object "GtkSourceStyle")
+ (prop-type "GParamBoolean")
+ (docs "Bold")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property margin-bottom
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on the bottom side")
+(define-property bold-set
+ (of-object "GtkSourceStyle")
+ (prop-type "GParamBoolean")
+ (docs "Whether bold attribute is set")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property margin
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of extra space on all four sides")
+(define-property italic
+ (of-object "GtkSourceStyle")
+ (prop-type "GParamBoolean")
+ (docs "Italic")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property hexpand
- (of-object "GtkSourceView")
+(define-property italic-set
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether widget wants more horizontal space")
+ (docs "Whether italic attribute is set")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property vexpand
- (of-object "GtkSourceView")
+(define-property underline
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether widget wants more vertical space")
+ (docs "Underline")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property hexpand-set
- (of-object "GtkSourceView")
+(define-property underline-set
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether to use the hexpand property")
+ (docs "Whether underline attribute is set")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property vexpand-set
- (of-object "GtkSourceView")
+(define-property strikethrough
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether to use the vexpand property")
+ (docs "Strikethrough")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property expand
- (of-object "GtkSourceView")
+(define-property strikethrough-set
+ (of-object "GtkSourceStyle")
(prop-type "GParamBoolean")
- (docs "Whether widget wants to expand in both directions")
+ (docs "Whether strikethrough attribute is set")
(readable #t)
(writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(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)
-)
+;; From GtkSourceStyleScheme
-(define-property resize-mode
- (of-object "GtkSourceView")
- (prop-type "GParamEnum")
- (docs "Specify how resize events are handled")
+(define-property id
+ (of-object "GtkSourceStyleScheme")
+ (prop-type "GParamString")
+ (docs "Style scheme id")
(readable #t)
(writable #t)
- (construct-only #f)
-)
-
-(define-property child
- (of-object "GtkSourceView")
- (prop-type "GParamObject")
- (docs "Can be used to add a new child to the container")
- (readable #f)
- (writable #t)
- (construct-only #f)
+ (construct-only #t)
)
-(define-property pixels-above-lines
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of blank space above paragraphs")
+(define-property name
+ (of-object "GtkSourceStyleScheme")
+ (prop-type "GParamString")
+ (docs "Style scheme name")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property pixels-below-lines
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Pixels of blank space below paragraphs")
+(define-property description
+ (of-object "GtkSourceStyleScheme")
+ (prop-type "GParamString")
+ (docs "Style scheme description")
(readable #t)
- (writable #t)
+ (writable #f)
(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 filename
+ (of-object "GtkSourceStyleScheme")
+ (prop-type "GParamString")
+ (docs "Style scheme filename")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property editable
- (of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether the text can be modified by the user")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
+;; From GtkSourceStyleSchemeManager
-(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 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 justification
- (of-object "GtkSourceView")
- (prop-type "GParamEnum")
- (docs "Left, right, or center justification")
+(define-property scheme-ids
+ (of-object "GtkSourceStyleSchemeManager")
+ (prop-type "GParamBoxed")
+ (docs "List of the ids of the available style schemes")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property left-margin
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Width of the left margin in pixels")
- (readable #t)
- (writable #t)
- (construct-only #f)
+;; From GtkSourceUndoManager
+
+(define-signal can-undo-changed
+ (of-object "GtkSourceUndoManager")
+ (return-type "void")
+ (when "last")
)
-(define-property right-margin
- (of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Width of the right margin in pixels")
- (readable #t)
- (writable #t)
- (construct-only #f)
+(define-signal can-redo-changed
+ (of-object "GtkSourceUndoManager")
+ (return-type "void")
+ (when "last")
)
-(define-property indent
+;; From GtkSourceView
+
+(define-signal smart-home-end
(of-object "GtkSourceView")
- (prop-type "GParamInt")
- (docs "Amount to indent the paragraph, in pixels")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("GtkTextIter*" "p0")
+ '("gint" "p1")
+ )
)
-(define-property tabs
+(define-signal undo
(of-object "GtkSourceView")
- (prop-type "GParamBoxed")
- (docs "Custom tabs for this text")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
)
-(define-property cursor-visible
+(define-signal redo
(of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "If the insertion cursor is shown")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
)
-(define-property buffer
+(define-signal show-completion
(of-object "GtkSourceView")
- (prop-type "GParamObject")
- (docs "The buffer which is displayed")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
)
-(define-property overwrite
+(define-signal line-mark-activated
(of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether entered text overwrites existing contents")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("GtkTextIter*" "p0")
+ '("GdkEvent*" "p1")
+ )
)
-(define-property accepts-tab
+(define-signal move-lines
(of-object "GtkSourceView")
- (prop-type "GParamBoolean")
- (docs "Whether Tab will result in a tab character being entered")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("gboolean" "p0")
+ '("gint" "p1")
+ )
)
-(define-property im-module
+(define-signal move-words
(of-object "GtkSourceView")
- (prop-type "GParamString")
- (docs "Which IM module should be used")
- (readable #t)
- (writable #t)
- (construct-only #f)
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("gint" "p0")
+ )
)
(define-property completion
diff --git a/gtksourceview/src/gutter.hg b/gtksourceview/src/gutter.hg
index 1a53880..c11d0dc 100644
--- a/gtksourceview/src/gutter.hg
+++ b/gtksourceview/src/gutter.hg
@@ -105,6 +105,10 @@ public:
_WRAP_METHOD(void get_padding(int& xpad, int& ypad) const, gtk_source_gutter_get_padding)
+ _WRAP_METHOD(GutterRenderer* get_renderer_at_pos(int x, int y), gtk_source_gutter_get_renderer_at_pos, refreturn)
+
+ _WRAP_METHOD(const GutterRenderer* get_renderer_at_pos(int x, int y) const, gtk_source_gutter_get_renderer_at_pos, constversion, refreturn)
+
_WRAP_PROPERTY("view", View*)
_WRAP_PROPERTY("window-type", Gtk::TextWindowType)
_WRAP_PROPERTY("xpad", int)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]