vala r864 - in trunk: . vapi vapi/packages/gtksourceview-2.0



Author: juergbi
Date: Sat Jan 19 09:35:20 2008
New Revision: 864
URL: http://svn.gnome.org/viewvc/vala?rev=864&view=rev

Log:
2008-01-19  Juerg Billeter  <j bitron ch>

	* vapi/packages/gtksourceview-2.0/: update to gtksourceview 2.1.0

	* vapi/gtksourceview-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gtksourceview-2.0.vapi
   trunk/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi

Modified: trunk/vapi/gtksourceview-2.0.vapi
==============================================================================
--- trunk/vapi/gtksourceview-2.0.vapi	(original)
+++ trunk/vapi/gtksourceview-2.0.vapi	Sat Jan 19 09:35:20 2008
@@ -18,17 +18,23 @@
 	}
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public class SourceBuffer : Gtk.TextBuffer {
+		public bool backward_iter_to_mark (Gtk.TextIter iter, string category);
 		public void begin_not_undoable_action ();
+		public weak Gtk.SourceMark create_mark (string name, string category, Gtk.TextIter where);
 		public void end_not_undoable_action ();
 		public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
+		public bool forward_iter_to_mark (Gtk.TextIter iter, string category);
 		public bool get_highlight_matching_brackets ();
 		public bool get_highlight_syntax ();
 		public weak Gtk.SourceLanguage get_language ();
+		public weak GLib.SList get_marks_at_iter (Gtk.TextIter iter, string category);
+		public weak GLib.SList get_marks_at_line (int line, string category);
 		public int get_max_undo_levels ();
 		public weak Gtk.SourceStyleScheme get_style_scheme ();
 		public SourceBuffer (Gtk.TextTagTable table);
 		public SourceBuffer.with_language (Gtk.SourceLanguage language);
 		public void redo ();
+		public void remove_marks (Gtk.TextIter start, Gtk.TextIter end, string category);
 		public void set_highlight_matching_brackets (bool highlight);
 		public void set_highlight_syntax (bool highlight);
 		public void set_language (Gtk.SourceLanguage language);
@@ -44,6 +50,7 @@
 		public weak Gtk.SourceLanguage language { get; set; }
 		public weak int max_undo_levels { get; set; }
 		public weak Gtk.SourceStyleScheme style_scheme { get; set; }
+		public signal void source_mark_updated (Gtk.TextMark p0);
 	}
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public class SourceLanguage : GLib.Object {
@@ -73,6 +80,68 @@
 		public weak string[] search_path { get; set; }
 	}
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceMark : Gtk.TextMark {
+		public weak string get_category ();
+		public SourceMark (string name, string category);
+		public weak Gtk.SourceMark next (string category);
+		public weak Gtk.SourceMark prev (string category);
+		[NoAccessorMethod]
+		public weak string category { get; construct; }
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourcePrintCompositor : GLib.Object {
+		public void draw_page (Gtk.PrintContext context, int page_nr);
+		public weak string get_body_font_name ();
+		public double get_bottom_margin (Gtk.Unit unit);
+		public weak Gtk.SourceBuffer get_buffer ();
+		public weak string get_footer_font_name ();
+		public weak string get_header_font_name ();
+		public bool get_highlight_syntax ();
+		public double get_left_margin (Gtk.Unit unit);
+		public weak string get_line_numbers_font_name ();
+		public int get_n_pages ();
+		public double get_pagination_progress ();
+		public bool get_print_footer ();
+		public bool get_print_header ();
+		public uint get_print_line_numbers ();
+		public double get_right_margin (Gtk.Unit unit);
+		public uint get_tab_width ();
+		public double get_top_margin (Gtk.Unit unit);
+		public Gtk.WrapMode get_wrap_mode ();
+		public SourcePrintCompositor (Gtk.SourceBuffer buffer);
+		public SourcePrintCompositor.from_view (Gtk.SourceView view);
+		public bool paginate (Gtk.PrintContext context);
+		public void set_body_font_name (string font_name);
+		public void set_bottom_margin (double margin, Gtk.Unit unit);
+		public void set_footer_font_name (string font_name);
+		public void set_footer_format (bool separator, string left, string center, string right);
+		public void set_header_font_name (string font_name);
+		public void set_header_format (bool separator, string left, string center, string right);
+		public void set_highlight_syntax (bool highlight);
+		public void set_left_margin (double margin, Gtk.Unit unit);
+		public void set_line_numbers_font_name (string font_name);
+		public void set_print_footer (bool print);
+		public void set_print_header (bool print);
+		public void set_print_line_numbers (uint interval);
+		public void set_right_margin (double margin, Gtk.Unit unit);
+		public void set_tab_width (uint width);
+		public void set_top_margin (double margin, Gtk.Unit unit);
+		public void set_wrap_mode (Gtk.WrapMode wrap_mode);
+		public weak string body_font_name { get; set; }
+		[NoAccessorMethod]
+		public weak Gtk.SourceBuffer buffer { get; construct; }
+		public weak string footer_font_name { get; set; }
+		public weak string header_font_name { get; set; }
+		public weak bool highlight_syntax { get; set; }
+		public weak string line_numbers_font_name { get; set; }
+		public weak int n_pages { get; }
+		public weak bool print_footer { get; set; }
+		public weak bool print_header { get; set; }
+		public weak uint print_line_numbers { get; set; }
+		public weak uint tab_width { get; set; }
+		public weak Gtk.WrapMode wrap_mode { get; set; }
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public class SourceStyle : GLib.Object {
 		public weak Gtk.SourceStyle copy ();
 		[NoAccessorMethod]
@@ -139,7 +208,10 @@
 		public bool get_indent_on_tab ();
 		public int get_indent_width ();
 		public bool get_insert_spaces_instead_of_tabs ();
+		public weak Gdk.Pixbuf get_mark_category_pixbuf (string category);
+		public int get_mark_category_priority (string category);
 		public uint get_right_margin_position ();
+		public bool get_show_line_marks ();
 		public bool get_show_line_numbers ();
 		public bool get_show_right_margin ();
 		public Gtk.SourceSmartHomeEndType get_smart_home_end ();
@@ -151,7 +223,10 @@
 		public void set_indent_on_tab (bool enable);
 		public void set_indent_width (int width);
 		public void set_insert_spaces_instead_of_tabs (bool enable);
+		public void set_mark_category_pixbuf (string category, Gdk.Pixbuf pixbuf);
+		public void set_mark_category_priority (string category, int priority);
 		public void set_right_margin_position (uint pos);
+		public void set_show_line_marks (bool show);
 		public void set_show_line_numbers (bool show);
 		public void set_show_right_margin (bool show);
 		public void set_smart_home_end (Gtk.SourceSmartHomeEndType smart_he);
@@ -162,6 +237,7 @@
 		public weak int indent_width { get; set; }
 		public weak bool insert_spaces_instead_of_tabs { get; set; }
 		public weak uint right_margin_position { get; set; }
+		public weak bool show_line_marks { get; set; }
 		public weak bool show_line_numbers { get; set; }
 		public weak bool show_right_margin { get; set; }
 		public weak Gtk.SourceSmartHomeEndType smart_home_end { get; set; }

Modified: trunk/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi
==============================================================================
--- trunk/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi	(original)
+++ trunk/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi	Sat Jan 19 09:35:20 2008
@@ -35,6 +35,14 @@
 			<member name="GTK_SOURCE_SEARCH_CASE_INSENSITIVE" value="4"/>
 		</flags>
 		<object name="GtkSourceBuffer" parent="GtkTextBuffer" type-name="GtkSourceBuffer" get-type="gtk_source_buffer_get_type">
+			<method name="backward_iter_to_mark" symbol="gtk_source_buffer_backward_iter_to_mark">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="begin_not_undoable_action" symbol="gtk_source_buffer_begin_not_undoable_action">
 				<return-type type="void"/>
 				<parameters>
@@ -53,6 +61,15 @@
 					<parameter name="buffer" type="GtkSourceBuffer*"/>
 				</parameters>
 			</method>
+			<method name="create_mark" symbol="gtk_source_buffer_create_mark">
+				<return-type type="GtkSourceMark*"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="category" type="gchar*"/>
+					<parameter name="where" type="GtkTextIter*"/>
+				</parameters>
+			</method>
 			<method name="end_not_undoable_action" symbol="gtk_source_buffer_end_not_undoable_action">
 				<return-type type="void"/>
 				<parameters>
@@ -67,6 +84,14 @@
 					<parameter name="end" type="GtkTextIter*"/>
 				</parameters>
 			</method>
+			<method name="forward_iter_to_mark" symbol="gtk_source_buffer_forward_iter_to_mark">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="get_highlight_matching_brackets" symbol="gtk_source_buffer_get_highlight_matching_brackets">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -85,6 +110,22 @@
 					<parameter name="buffer" type="GtkSourceBuffer*"/>
 				</parameters>
 			</method>
+			<method name="get_marks_at_iter" symbol="gtk_source_buffer_get_marks_at_iter">
+				<return-type type="GSList*"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="get_marks_at_line" symbol="gtk_source_buffer_get_marks_at_line">
+				<return-type type="GSList*"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="line" type="gint"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="get_max_undo_levels" symbol="gtk_source_buffer_get_max_undo_levels">
 				<return-type type="gint"/>
 				<parameters>
@@ -115,6 +156,15 @@
 					<parameter name="buffer" type="GtkSourceBuffer*"/>
 				</parameters>
 			</method>
+			<method name="remove_marks" symbol="gtk_source_buffer_remove_marks">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="start" type="GtkTextIter*"/>
+					<parameter name="end" type="GtkTextIter*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="set_highlight_matching_brackets" symbol="gtk_source_buffer_set_highlight_matching_brackets">
 				<return-type type="void"/>
 				<parameters>
@@ -171,6 +221,13 @@
 					<parameter name="p1" type="GtkTextIter*"/>
 				</parameters>
 			</signal>
+			<signal name="source-mark-updated" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="object" type="GtkSourceBuffer*"/>
+					<parameter name="p0" type="GtkTextMark*"/>
+				</parameters>
+			</signal>
 		</object>
 		<object name="GtkSourceLanguage" parent="GObject" type-name="GtkSourceLanguage" get-type="gtk_source_language_get_type">
 			<method name="get_globs" symbol="gtk_source_language_get_globs">
@@ -270,6 +327,305 @@
 			<property name="language-ids" type="char*[]" readable="1" writable="0" construct="0" construct-only="0"/>
 			<property name="search-path" type="char*[]" readable="1" writable="1" construct="0" construct-only="0"/>
 		</object>
+		<object name="GtkSourceMark" parent="GtkTextMark" type-name="GtkSourceMark" get-type="gtk_source_mark_get_type">
+			<method name="get_category" symbol="gtk_source_mark_get_category">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="mark" type="GtkSourceMark*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="gtk_source_mark_new">
+				<return-type type="GtkSourceMark*"/>
+				<parameters>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</constructor>
+			<method name="next" symbol="gtk_source_mark_next">
+				<return-type type="GtkSourceMark*"/>
+				<parameters>
+					<parameter name="mark" type="GtkSourceMark*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="prev" symbol="gtk_source_mark_prev">
+				<return-type type="GtkSourceMark*"/>
+				<parameters>
+					<parameter name="mark" type="GtkSourceMark*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
+			<property name="category" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+		</object>
+		<object name="GtkSourcePrintCompositor" parent="GObject" type-name="GtkSourcePrintCompositor" get-type="gtk_source_print_compositor_get_type">
+			<method name="draw_page" symbol="gtk_source_print_compositor_draw_page">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="context" type="GtkPrintContext*"/>
+					<parameter name="page_nr" type="gint"/>
+				</parameters>
+			</method>
+			<method name="get_body_font_name" symbol="gtk_source_print_compositor_get_body_font_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_bottom_margin" symbol="gtk_source_print_compositor_get_bottom_margin">
+				<return-type type="gdouble"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="get_buffer" symbol="gtk_source_print_compositor_get_buffer">
+				<return-type type="GtkSourceBuffer*"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_footer_font_name" symbol="gtk_source_print_compositor_get_footer_font_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_header_font_name" symbol="gtk_source_print_compositor_get_header_font_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_highlight_syntax" symbol="gtk_source_print_compositor_get_highlight_syntax">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_left_margin" symbol="gtk_source_print_compositor_get_left_margin">
+				<return-type type="gdouble"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="get_line_numbers_font_name" symbol="gtk_source_print_compositor_get_line_numbers_font_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_n_pages" symbol="gtk_source_print_compositor_get_n_pages">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_pagination_progress" symbol="gtk_source_print_compositor_get_pagination_progress">
+				<return-type type="gdouble"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_print_footer" symbol="gtk_source_print_compositor_get_print_footer">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_print_header" symbol="gtk_source_print_compositor_get_print_header">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_print_line_numbers" symbol="gtk_source_print_compositor_get_print_line_numbers">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_right_margin" symbol="gtk_source_print_compositor_get_right_margin">
+				<return-type type="gdouble"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="get_tab_width" symbol="gtk_source_print_compositor_get_tab_width">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<method name="get_top_margin" symbol="gtk_source_print_compositor_get_top_margin">
+				<return-type type="gdouble"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="get_wrap_mode" symbol="gtk_source_print_compositor_get_wrap_mode">
+				<return-type type="GtkWrapMode"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="gtk_source_print_compositor_new">
+				<return-type type="GtkSourcePrintCompositor*"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_from_view" symbol="gtk_source_print_compositor_new_from_view">
+				<return-type type="GtkSourcePrintCompositor*"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+				</parameters>
+			</constructor>
+			<method name="paginate" symbol="gtk_source_print_compositor_paginate">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="context" type="GtkPrintContext*"/>
+				</parameters>
+			</method>
+			<method name="set_body_font_name" symbol="gtk_source_print_compositor_set_body_font_name">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="font_name" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_bottom_margin" symbol="gtk_source_print_compositor_set_bottom_margin">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="margin" type="gdouble"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="set_footer_font_name" symbol="gtk_source_print_compositor_set_footer_font_name">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="font_name" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_footer_format" symbol="gtk_source_print_compositor_set_footer_format">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="separator" type="gboolean"/>
+					<parameter name="left" type="gchar*"/>
+					<parameter name="center" type="gchar*"/>
+					<parameter name="right" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_header_font_name" symbol="gtk_source_print_compositor_set_header_font_name">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="font_name" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_header_format" symbol="gtk_source_print_compositor_set_header_format">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="separator" type="gboolean"/>
+					<parameter name="left" type="gchar*"/>
+					<parameter name="center" type="gchar*"/>
+					<parameter name="right" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_highlight_syntax" symbol="gtk_source_print_compositor_set_highlight_syntax">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="highlight" type="gboolean"/>
+				</parameters>
+			</method>
+			<method name="set_left_margin" symbol="gtk_source_print_compositor_set_left_margin">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="margin" type="gdouble"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="set_line_numbers_font_name" symbol="gtk_source_print_compositor_set_line_numbers_font_name">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="font_name" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_print_footer" symbol="gtk_source_print_compositor_set_print_footer">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="print" type="gboolean"/>
+				</parameters>
+			</method>
+			<method name="set_print_header" symbol="gtk_source_print_compositor_set_print_header">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="print" type="gboolean"/>
+				</parameters>
+			</method>
+			<method name="set_print_line_numbers" symbol="gtk_source_print_compositor_set_print_line_numbers">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="interval" type="guint"/>
+				</parameters>
+			</method>
+			<method name="set_right_margin" symbol="gtk_source_print_compositor_set_right_margin">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="margin" type="gdouble"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="set_tab_width" symbol="gtk_source_print_compositor_set_tab_width">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="width" type="guint"/>
+				</parameters>
+			</method>
+			<method name="set_top_margin" symbol="gtk_source_print_compositor_set_top_margin">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="margin" type="gdouble"/>
+					<parameter name="unit" type="GtkUnit"/>
+				</parameters>
+			</method>
+			<method name="set_wrap_mode" symbol="gtk_source_print_compositor_set_wrap_mode">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="compositor" type="GtkSourcePrintCompositor*"/>
+					<parameter name="wrap_mode" type="GtkWrapMode"/>
+				</parameters>
+			</method>
+			<property name="body-font-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="buffer" type="GtkSourceBuffer*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="footer-font-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="header-font-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="highlight-syntax" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="line-numbers-font-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="n-pages" type="gint" readable="1" writable="0" construct="0" construct-only="0"/>
+			<property name="print-footer" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="print-header" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="print-line-numbers" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="tab-width" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="wrap-mode" type="GtkWrapMode" readable="1" writable="1" construct="0" construct-only="0"/>
+		</object>
 		<object name="GtkSourceStyle" parent="GObject" type-name="GtkSourceStyle" get-type="gtk_source_style_get_type">
 			<method name="copy" symbol="gtk_source_style_copy">
 				<return-type type="GtkSourceStyle*"/>
@@ -426,12 +782,32 @@
 					<parameter name="view" type="GtkSourceView*"/>
 				</parameters>
 			</method>
+			<method name="get_mark_category_pixbuf" symbol="gtk_source_view_get_mark_category_pixbuf">
+				<return-type type="GdkPixbuf*"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="get_mark_category_priority" symbol="gtk_source_view_get_mark_category_priority">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="get_right_margin_position" symbol="gtk_source_view_get_right_margin_position">
 				<return-type type="guint"/>
 				<parameters>
 					<parameter name="view" type="GtkSourceView*"/>
 				</parameters>
 			</method>
+			<method name="get_show_line_marks" symbol="gtk_source_view_get_show_line_marks">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+				</parameters>
+			</method>
 			<method name="get_show_line_numbers" symbol="gtk_source_view_get_show_line_numbers">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -500,6 +876,22 @@
 					<parameter name="enable" type="gboolean"/>
 				</parameters>
 			</method>
+			<method name="set_mark_category_pixbuf" symbol="gtk_source_view_set_mark_category_pixbuf">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+					<parameter name="pixbuf" type="GdkPixbuf*"/>
+				</parameters>
+			</method>
+			<method name="set_mark_category_priority" symbol="gtk_source_view_set_mark_category_priority">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+					<parameter name="priority" type="gint"/>
+				</parameters>
+			</method>
 			<method name="set_right_margin_position" symbol="gtk_source_view_set_right_margin_position">
 				<return-type type="void"/>
 				<parameters>
@@ -507,6 +899,13 @@
 					<parameter name="pos" type="guint"/>
 				</parameters>
 			</method>
+			<method name="set_show_line_marks" symbol="gtk_source_view_set_show_line_marks">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="show" type="gboolean"/>
+				</parameters>
+			</method>
 			<method name="set_show_line_numbers" symbol="gtk_source_view_set_show_line_numbers">
 				<return-type type="void"/>
 				<parameters>
@@ -541,6 +940,7 @@
 			<property name="indent-width" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="insert-spaces-instead-of-tabs" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="right-margin-position" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="show-line-marks" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="show-line-numbers" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="show-right-margin" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="smart-home-end" type="GtkSourceSmartHomeEndType" readable="1" writable="1" construct="0" construct-only="0"/>



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