diff options
author | Juerg Billeter <j@bitron.ch> | 2007-11-22 17:24:21 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2007-11-22 17:24:21 +0000 |
commit | ccdd8fb3cecb17c22dfbeaf691a0898c59965b94 (patch) | |
tree | 9572504f6e4dd151a0cc08f271ce5042d16e4294 /vapi/gtksourceview-2.0.vapi | |
parent | 23e052d4e41ef81014f792054cd1a1ac8bef5f21 (diff) | |
download | vala-ccdd8fb3cecb17c22dfbeaf691a0898c59965b94.tar.gz |
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtksourceview-2.0/: update to use vala-gen-introspect
* vapi/gtksourceview-2.0.vapi: regenerated
svn path=/trunk/; revision=700
Diffstat (limited to 'vapi/gtksourceview-2.0.vapi')
-rw-r--r-- | vapi/gtksourceview-2.0.vapi | 134 |
1 files changed, 43 insertions, 91 deletions
diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi index 3b57353be..b50bcd28a 100644 --- a/vapi/gtksourceview-2.0.vapi +++ b/vapi/gtksourceview-2.0.vapi @@ -2,27 +2,6 @@ [CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")] namespace Gtk { - [CCode (cprefix = "GTK_SOURCE_CONTEXT_", cheader_filename = "gtksourceview/gtksourceview.h")] - public enum SourceContextFlags { - EXTEND_PARENT, - END_PARENT, - END_AT_LINE_END, - FIRST_LINE_ONLY, - ONCE_ONLY, - STYLE_INSIDE, - } - [CCode (cprefix = "GTK_SOURCE_CONTEXT_", cheader_filename = "gtksourceview/gtksourceview.h")] - public enum SourceContextRefOptions { - IGNORE_STYLE, - OVERRIDE_STYLE, - REF_ORIGINAL, - } - [CCode (cprefix = "GTK_SOURCE_SEARCH_", cheader_filename = "gtksourceview/gtksourceview.h")] - public enum SourceSearchFlags { - VISIBLE_ONLY, - TEXT_ONLY, - CASE_INSENSITIVE, - } [CCode (cprefix = "GTK_SOURCE_SMART_HOME_END_", cheader_filename = "gtksourceview/gtksourceview.h")] public enum SourceSmartHomeEndType { DISABLED, @@ -30,27 +9,23 @@ namespace Gtk { AFTER, ALWAYS, } + [CCode (cprefix = "GTK_SOURCE_SEARCH_", cheader_filename = "gtksourceview/gtksourceview.h")] + [Flags] + public enum SourceSearchFlags { + VISIBLE_ONLY, + TEXT_ONLY, + CASE_INSENSITIVE, + } [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] public class SourceBuffer : Gtk.TextBuffer { public void begin_not_undoable_action (); - public weak Gtk.SourceMarker create_marker (string name, string type, out Gtk.TextIter where); - public void delete_marker (Gtk.SourceMarker marker); public void end_not_undoable_action (); public void ensure_highlight (out Gtk.TextIter start, out Gtk.TextIter end); - public weak Gtk.SourceMarker get_first_marker (); public bool get_highlight_matching_brackets (); public bool get_highlight_syntax (); - public void get_iter_at_marker (out Gtk.TextIter iter, Gtk.SourceMarker marker); public weak Gtk.SourceLanguage get_language (); - public weak Gtk.SourceMarker get_last_marker (); - public weak Gtk.SourceMarker get_marker (string name); - public weak GLib.SList get_markers_in_region (out Gtk.TextIter begin, out Gtk.TextIter end); public int get_max_undo_levels (); - public weak Gtk.SourceMarker get_next_marker (out Gtk.TextIter iter); - public weak Gtk.SourceMarker get_prev_marker (out Gtk.TextIter iter); public weak Gtk.SourceStyleScheme get_style_scheme (); - public static GLib.Type get_type (); - public void move_marker (Gtk.SourceMarker marker, out Gtk.TextIter where); public SourceBuffer (Gtk.TextTagTable table); public SourceBuffer.with_language (Gtk.SourceLanguage language); public void redo (); @@ -60,14 +35,14 @@ namespace Gtk { public void set_max_undo_levels (int max_undo_levels); public void set_style_scheme (Gtk.SourceStyleScheme scheme); public void undo (); - public weak bool highlight_syntax { get; set; } - public weak bool highlight_matching_brackets { get; set; } - public weak int max_undo_levels { get; set; } - public weak Gtk.SourceLanguage language { get; set; } - [NoAccessorMethod] - public weak bool can_undo { get; } [NoAccessorMethod] public weak bool can_redo { get; } + [NoAccessorMethod] + public weak bool can_undo { get; } + public weak bool highlight_matching_brackets { get; set; } + public weak bool highlight_syntax { get; set; } + public weak Gtk.SourceLanguage language { get; set; } + public weak int max_undo_levels { get; set; } public weak Gtk.SourceStyleScheme style_scheme { get; set; } } [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] @@ -81,11 +56,10 @@ namespace Gtk { public weak string get_section (); public weak string get_style_ids (); public weak string get_style_name (string style_id); - public static GLib.Type get_type (); + public weak bool hidden { get; } public weak string id { get; } public weak string name { get; } public weak string section { get; } - public weak bool hidden { get; } } [CCode (cheader_filename = "gtksourceview/gtksourcelanguagemanager.h")] public class SourceLanguageManager : GLib.Object { @@ -93,55 +67,42 @@ namespace Gtk { public weak Gtk.SourceLanguage get_language (string id); public weak string get_language_ids (); public weak string get_search_path (); - public static GLib.Type get_type (); public SourceLanguageManager (); public void set_search_path (string dirs); - public weak string[] search_path { get; set; } public weak string[] language_ids { get; } - } - [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public class SourceMarker : GLib.Object { - public pointer get_buffer (); - public int get_line (); - public weak string get_marker_type (); - public weak string get_name (); - public static GLib.Type get_type (); - public weak Gtk.SourceMarker next (); - public weak Gtk.SourceMarker prev (); - public void set_marker_type (string type); + public weak string[] search_path { get; set; } } [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] public class SourceStyle : GLib.Object { public weak Gtk.SourceStyle copy (); - public static GLib.Type get_type (); - [NoAccessorMethod] - public weak string line_background { get; construct; } [NoAccessorMethod] public weak string background { get; construct; } [NoAccessorMethod] - public weak string foreground { get; construct; } + public weak bool background_set { get; construct; } [NoAccessorMethod] public weak bool bold { get; construct; } [NoAccessorMethod] + public weak bool bold_set { get; construct; } + [NoAccessorMethod] + public weak string foreground { get; construct; } + [NoAccessorMethod] + public weak bool foreground_set { get; construct; } + [NoAccessorMethod] public weak bool italic { get; construct; } [NoAccessorMethod] - public weak bool underline { get; construct; } + public weak bool italic_set { get; construct; } [NoAccessorMethod] - public weak bool strikethrough { get; construct; } + public weak string line_background { get; construct; } [NoAccessorMethod] public weak bool line_background_set { get; construct; } [NoAccessorMethod] - public weak bool foreground_set { get; construct; } - [NoAccessorMethod] - public weak bool background_set { get; construct; } + public weak bool strikethrough { get; construct; } [NoAccessorMethod] - public weak bool bold_set { get; construct; } + public weak bool strikethrough_set { get; construct; } [NoAccessorMethod] - public weak bool italic_set { get; construct; } + public weak bool underline { get; construct; } [NoAccessorMethod] public weak bool underline_set { get; construct; } - [NoAccessorMethod] - public weak bool strikethrough_set { get; construct; } } [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] public class SourceStyleScheme : GLib.Object { @@ -151,41 +112,38 @@ namespace Gtk { public weak string get_id (); public weak string get_name (); public weak Gtk.SourceStyle get_style (string style_id); - public static GLib.Type get_type (); + public weak string description { get; } + public weak string filename { get; } [NoAccessorMethod] public weak string id { get; construct; } public weak string name { get; } - public weak string description { get; } - public weak string filename { get; } } [CCode (cheader_filename = "gtksourceview/gtksourcestyleschemamanager.h")] public class SourceStyleSchemeManager : GLib.Object { public void append_search_path (string path); public void force_rescan (); + public static weak Gtk.SourceStyleSchemeManager get_default (); public weak Gtk.SourceStyleScheme get_scheme (string scheme_id); public weak string get_scheme_ids (); public weak string get_search_path (); - public static GLib.Type get_type (); + public SourceStyleSchemeManager (); public void prepend_search_path (string path); - [NoAccessorMethod] - public weak string[] search_path { get; set; } + public void set_search_path (string path); public weak string[] scheme_ids { get; } + public weak string[] search_path { get; set; } } [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public class SourceView : Gtk.TextView { + public class SourceView : Gtk.TextView, Atk.Implementor, Gtk.Buildable { public bool get_auto_indent (); public bool get_highlight_current_line (); public bool get_indent_on_tab (); public int get_indent_width (); public bool get_insert_spaces_instead_of_tabs (); - public weak Gdk.Pixbuf get_marker_pixbuf (string marker_type); public uint get_right_margin_position (); - public bool get_show_line_markers (); public bool get_show_line_numbers (); public bool get_show_right_margin (); public Gtk.SourceSmartHomeEndType get_smart_home_end (); public uint get_tab_width (); - public static GLib.Type get_type (); public SourceView (); public SourceView.with_buffer (Gtk.SourceBuffer buffer); public void set_auto_indent (bool enable); @@ -193,30 +151,24 @@ namespace Gtk { 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_marker_pixbuf (string marker_type, Gdk.Pixbuf pixbuf); public void set_right_margin_position (uint pos); - public void set_show_line_markers (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); public void set_tab_width (uint width); - public weak bool show_line_numbers { get; set; } - public weak bool show_line_markers { get; set; } - public weak uint tab_width { get; set; } - public weak int indent_width { get; set; } public weak bool auto_indent { get; set; } + public weak bool highlight_current_line { get; set; } + public weak bool indent_on_tab { get; set; } + public weak int indent_width { get; set; } public weak bool insert_spaces_instead_of_tabs { get; set; } - public weak bool show_right_margin { get; set; } public weak uint right_margin_position { 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; } - public weak bool highlight_current_line { get; set; } - public weak bool indent_on_tab { get; set; } - public signal void undo (); + public weak uint tab_width { get; set; } public signal void redo (); + public signal void undo (); } - [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public class Source { - public static bool iter_backward_search (out Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out Gtk.TextIter limit); - public static bool iter_forward_search (out Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out Gtk.TextIter limit); - } + public static bool source_iter_backward_search (out Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out Gtk.TextIter limit); + public static bool source_iter_forward_search (out Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, out Gtk.TextIter limit); } |