_
ViewThis is the View of the Model/View/Controller text capabilities of GtkAda.
Widget Hierarchy |
---|
GObject (see section Package Glib.Object)
Gtk_Object (see section Package Gtk.Object)
\___ Gtk_Widget (see section Package Gtk.Widget)
\___ Gtk_Container (see section Package Gtk.Container)
\___ Gtk_Text_View (see section Package Gtk.Text
|
Signals |
---|
Subprograms |
---|
procedure Gtk_New (Widget : out Gtk_Text_View; Buffer : Gtk.Text_Buffer.Gtk_Text_Buffer := null); | ||
Create a new Gtk_Text_View. | ||
function Get_Type return Glib.GType; | ||
Return the internal value associated with this widget.
| ||
procedure Set_Buffer (Text_View : access Gtk_Text_View_Record; Buffer : access Gtk.Text_Buffer.Gtk_Text_Buffer_Record'Class); | ||
Set Buffer as the buffer being displayed by Text_View. | ||
function Get_Buffer (Text_View : access Gtk_Text_View_Record) return Gtk.Text_Buffer.Gtk_Text_Buffer; | ||
Return the Gtk_Text_Buffer being displayed by this text view. | ||
function Scroll_To_Iter (Text_View : access Gtk_Text_View_Record; Iter : Gtk.Text_Iter.Gtk_Text_Iter; Within_Margin : Gdouble; Use_Align : Boolean; Xalign : Gdouble; Yalign : Gdouble) return Boolean; | ||
Scroll Text_View so that Iter is on the screen in the position | ||
procedure Scroll_To_Mark (Text_View : access Gtk_Text_View_Record; Mark : access Gtk.Text_Mark.Gtk_Text_Mark_Record'Class; Within_Margin : Gdouble := 0.0; Use_Align : Boolean := False; Xalign : Gdouble := 0.0; Yalign : Gdouble := 0.0); | ||
Scroll Text_View so that Mark is on the screen in the position indicated | ||
procedure Scroll_Mark_Onscreen (Text_View : access Gtk_Text_View_Record; Mark : access Gtk.Text_Mark.Gtk_Text_Mark_Record'Class); | ||
Same as the above with the default values
| ||
function Move_Mark_Onscreen (Text_View : access Gtk_Text_View_Record; Mark : access Gtk.Text_Mark.Gtk_Text_Mark_Record'Class) return Boolean; | ||
Move a mark within the buffer so that it's located within the | ||
function Place_Cursor_Onscreen (Text_View : access Gtk_Text_View_Record) return Boolean; | ||
Move the cursor to the currently visible region of the buffer, if it | ||
procedure Get_Visible_Rect (Text_View : access Gtk_Text_View_Record; Visible_Rect : out Gdk.Rectangle.Gdk_Rectangle); | ||
Fill Visible_Rect with the currently-visible region of the buffer, in | ||
procedure Set_Cursor_Visible (Text_View : access Gtk_Text_View_Record; Setting : Boolean := True); | ||
Toggle whether the insertion point is displayed. | ||
function Get_Cursor_Visible (Text_View : access Gtk_Text_View_Record) return Boolean; | ||
Whether the cursor is being displayed.
| ||
procedure Get_Iter_Location (Text_View : access Gtk_Text_View_Record; Iter : Gtk.Text_Iter.Gtk_Text_Iter; Location : out Gdk.Rectangle.Gdk_Rectangle); | ||
Get a rectangle which roughly contains the character at iter. | ||
procedure Get_Iter_At_Location (Text_View : access Gtk_Text_View_Record; Iter : out Gtk.Text_Iter.Gtk_Text_Iter; X : Gint; Y : Gint); | ||
Retrieve the iterator at buffer coordinates X and Y. | ||
procedure Get_Line_Yrange (Text_View : access Gtk_Text_View_Record; Iter : Gtk.Text_Iter.Gtk_Text_Iter; Y : out Gint; Height : out Gint); | ||
Get the Y coordinate of the top of the line containing Iter, | ||
procedure Get_Line_At_Y (Text_View : access Gtk_Text_View_Record; Target_Iter : out Gtk.Text_Iter.Gtk_Text_Iter; Y : Gint; Line_Top : out Gint); | ||
Get the Gtk_Text_Iter at the start of the line containing the | ||
procedure Buffer_To_Window_Coords (Text_View : access Gtk_Text_View_Record; Win : Gtk.Enums.Gtk_Text_Window_Type; Buffer_X : Gint; Buffer_Y : Gint; Window_X : out Gint; Window_Y : out Gint); | ||
Convert coordinate (Buffer_X, Buffer_Y) to coordinates for the window | ||
procedure Window_To_Buffer_Coords (Text_View : access Gtk_Text_View_Record; Win : Gtk.Enums.Gtk_Text_Window_Type; Window_X : Gint; Window_Y : Gint; Buffer_X : out Gint; Buffer_Y : out Gint); | ||
Convert coordinates on the window identified by Win to buffer | ||
function Get_Window (Text_View : access Gtk_Text_View_Record; Win : Gtk.Enums.Gtk_Text_Window_Type) return Gdk.Window.Gdk_Window; | ||
Retrieve the Gdk_Window corresponding to an area of the text view; | ||
function Get_Window_Type (Text_View : access Gtk_Text_View_Record; Window : Gdk.Window.Gdk_Window) return Gtk.Enums.Gtk_Text_Window_Type; | ||
Usually used to find out which window an event corresponds to. | ||
procedure Set_Border_Window_Size (Text_View : access Gtk_Text_View_Record; The_Type : Gtk.Enums.Gtk_Text_Window_Type; Size : Gint); | ||
Set the width of Text_Window_Left or Text_Window_Right, | ||
procedure Forward_Display_Line (Text_View : access Gtk_Text_View_Record; Iter : in out Gtk.Text_Iter.Gtk_Text_Iter; Result : out Boolean); | ||
???
| ||
procedure Backward_Display_Line (Text_View : access Gtk_Text_View_Record; Iter : in out Gtk.Text_Iter.Gtk_Text_Iter; Result : out Boolean); | ||
???
| ||
procedure Forward_Display_Line_End (Text_View : access Gtk_Text_View_Record; Iter : in out Gtk.Text_Iter.Gtk_Text_Iter; Result : out Boolean); | ||
???
| ||
procedure Backward_Display_Line_Start (Text_View : access Gtk_Text_View_Record; Iter : in out Gtk.Text_Iter.Gtk_Text_Iter; Result : out Boolean); | ||
???
| ||
function Starts_Display_Line (Text_View : access Gtk_Text_View_Record; Iter : Gtk.Text_Iter.Gtk_Text_Iter) return Boolean; | ||
???
| ||
procedure Move_Visually (Text_View : access Gtk_Text_View_Record; Iter : in out Gtk.Text_Iter.Gtk_Text_Iter; Count : Gint; Result : out Boolean); | ||
???
| ||
procedure Add_Child_At_Anchor (Text_View : access Gtk_Text_View_Record; Child : access Gtk.Widget.Gtk_Widget_Record'Class; Anchor : access Gtk.Text_Child.Gtk_Text_Child_Anchor_Record'Class); | ||
???
| ||
procedure Add_Child_In_Window (Text_View : access Gtk_Text_View_Record; Child : access Gtk.Widget.Gtk_Widget_Record'Class; Which_Window : Gtk.Enums.Gtk_Text_Window_Type; Xpos : Gint; Ypos : Gint); | ||
???
| ||
procedure Move_Child (Text_View : access Gtk_Text_View_Record; Child : access Gtk.Widget.Gtk_Widget_Record'Class; Xpos : Gint; Ypos : Gint); | ||
???
| ||
procedure Set_Wrap_Mode (Text_View : access Gtk_Text_View_Record; Wrap_Mode : Gtk.Enums.Gtk_Wrap_Mode); | ||
Set the line wrapping for the view.
| ||
function Get_Wrap_Mode (Text_View : access Gtk_Text_View_Record) return Gtk.Enums.Gtk_Wrap_Mode; | ||
Get the line wrapping for the view.
| ||
procedure Set_Editable (Text_View : access Gtk_Text_View_Record; Setting : Boolean := True); | ||
Set the default editability of the Gtk_Text_View. | ||
function Get_Editable (Text_View : access Gtk_Text_View_Record) return Boolean; | ||
Return the default editability of the Gtk_Text_View. | ||
procedure Set_Pixels_Above_Lines (Text_View : access Gtk_Text_View_Record; Pixels_Above_Lines : Gint); | ||
???
| ||
function Get_Pixels_Above_Lines (Text_View : access Gtk_Text_View_Record) return Gint; | ||
???
| ||
procedure Set_Pixels_Below_Lines (Text_View : access Gtk_Text_View_Record; Pixels_Below_Lines : Gint); | ||
???
| ||
function Get_Pixels_Below_Lines (Text_View : access Gtk_Text_View_Record) return Gint; | ||
???
| ||
procedure Set_Pixels_Inside_Wrap (Text_View : access Gtk_Text_View_Record; Pixels_Inside_Wrap : Gint); | ||
???
| ||
function Get_Pixels_Inside_Wrap (Text_View : access Gtk_Text_View_Record) return Gint; | ||
???
| ||
procedure Set_Justification (Text_View : access Gtk_Text_View_Record; Justification : Gtk.Enums.Gtk_Justification); | ||
???
| ||
function Get_Justification (Text_View : access Gtk_Text_View_Record) return Gtk.Enums.Gtk_Justification; | ||
???
| ||
procedure Set_Left_Margin (Text_View : access Gtk_Text_View_Record; Left_Margin : Gint); | ||
???
| ||
function Get_Left_Margin (Text_View : access Gtk_Text_View_Record) return Gint; | ||
???
| ||
procedure Set_Right_Margin (Text_View : access Gtk_Text_View_Record; Right_Margin : Gint); | ||
???
| ||
function Get_Right_Margin (Text_View : access Gtk_Text_View_Record) return Gint; | ||
???
| ||
procedure Set_Indent (Text_View : access Gtk_Text_View_Record; Indent : Gint); | ||
???
| ||
function Get_Indent (Text_View : access Gtk_Text_View_Record) return Gint; | ||
???
|