File: Atk_IText.cs

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (72 lines) | stat: -rw-r--r-- 3,628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace Atk {

	using System;

#region Autogenerated code
	public partial interface IText : GLib.IWrapper {

		event System.EventHandler TextAttributesChanged;
		event Atk.TextCaretMovedHandler TextCaretMoved;
		event Atk.TextChangedHandler TextChanged;
		event Atk.TextRemoveHandler TextRemove;
		event System.EventHandler TextSelectionChanged;
		event Atk.TextInsertHandler TextInsert;
		bool AddSelection(int start_offset, int end_offset);
		Atk.TextRange GetBoundedRanges(Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
		int CaretOffset { 
			get;
		}
		char GetCharacterAtOffset(int offset);
		int CharacterCount { 
			get;
		}
		void GetCharacterExtents(int offset, out int x, out int y, out int width, out int height, Atk.CoordType coords);
		Atk.Attribute[] DefaultAttributes { 
			get;
		}
		int NSelections { 
			get;
		}
		int GetOffsetAtPoint(int x, int y, Atk.CoordType coords);
		Atk.TextRectangle GetRangeExtents(int start_offset, int end_offset, Atk.CoordType coord_type);
		Atk.Attribute[] GetRunAttributes(int offset, out int start_offset, out int end_offset);
		string GetSelection(int selection_num, out int start_offset, out int end_offset);
		string GetStringAtOffset(int offset, Atk.TextGranularity granularity, out int start_offset, out int end_offset);
		string GetText(int start_offset, int end_offset);
		string GetTextAfterOffset(int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
		string GetTextAtOffset(int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
		string GetTextBeforeOffset(int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
		bool RemoveSelection(int selection_num);
		bool SetCaretOffset(int offset);
		bool SetSelection(int selection_num, int start_offset, int end_offset);
	}

	[GLib.GInterface (typeof (TextAdapter))]
	public partial interface ITextImplementor : GLib.IWrapper {

		string GetText (int start_offset, int end_offset);
		string GetTextAfterOffset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
		string GetTextAtOffset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
		char GetCharacterAtOffset (int offset);
		string GetTextBeforeOffset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset);
		int CaretOffset { get; }
		Atk.Attribute[] GetRunAttributes (int offset, out int start_offset, out int end_offset);
		Atk.Attribute[] DefaultAttributes { get; }
		void GetCharacterExtents (int offset, out int x, out int y, out int width, out int height, Atk.CoordType coords);
		int CharacterCount { get; }
		int GetOffsetAtPoint (int x, int y, Atk.CoordType coords);
		int NSelections { get; }
		string GetSelection (int selection_num, out int start_offset, out int end_offset);
		bool AddSelection (int start_offset, int end_offset);
		bool RemoveSelection (int selection_num);
		bool SetSelection (int selection_num, int start_offset, int end_offset);
		bool SetCaretOffset (int offset);
		void GetRangeExtents (int start_offset, int end_offset, Atk.CoordType coord_type, out Atk.TextRectangle rect);
		Atk.TextRange GetBoundedRanges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
		string GetStringAtOffset (int offset, Atk.TextGranularity granularity, out int start_offset, out int end_offset);
	}
#endregion
}