package Gtk.Text_View is
type Gtk_Text_View_Record is new Gtk.Container.Gtk_Container_Record with private;
type Gtk_Text_View is access all Gtk_Text_View_Record'Class;
Accepts_Tab_Property : constant Glib.Properties.Property_Boolean;
Buffer_Property : constant Glib.Properties.Property_Object;
Cursor_Visible_Property : constant Glib.Properties.Property_Boolean;
Editable_Property : constant Glib.Properties.Property_Boolean;
Indent_Property : constant Glib.Properties.Property_Int;
Justification_Property : constant Gtk.Enums.Property_Gtk_Justification;
Left_Margin_Property : constant Glib.Properties.Property_Int;
Overwrite_Property : constant Glib.Properties.Property_Boolean;
Pixels_Above_Lines_Property : constant Glib.Properties.Property_Int;
Pixels_Below_Lines_Property : constant Glib.Properties.Property_Int;
Pixels_Inside_Wrap_Property : constant Glib.Properties.Property_Int;
Right_Margin_Property : constant Glib.Properties.Property_Int;
Wrap_Mode_Property : constant Gtk.Enums.Property_Gtk_Wrap_Mode;
Signal_Backspace : constant Glib.Signal_Name := "backspace";
Signal_Copy_Clipboard : constant Glib.Signal_Name := "copy_clipboard";
Signal_Cut_Clipboard : constant Glib.Signal_Name := "cut_clipboard";
Signal_Delete_From_Cursor : constant Glib.Signal_Name := "delete_from_cursor";
Signal_Insert_At_Cursor : constant Glib.Signal_Name := "insert_at_cursor";
Signal_Move_Cursor : constant Glib.Signal_Name := "move_cursor";
Signal_Move_Focus : constant Glib.Signal_Name := "move_focus";
Signal_Move_Viewport : constant Glib.Signal_Name := "move_viewport";
Signal_Page_Horizontally : constant Glib.Signal_Name := "page_horizontally";
Signal_Paste_Clipboard : constant Glib.Signal_Name := "paste_clipboard";
Signal_Populate_Popup : constant Glib.Signal_Name := "populate_popup";
Signal_Select_All : constant Glib.Signal_Name := "select_all";
Signal_Set_Anchor : constant Glib.Signal_Name := "set_anchor";
Signal_Set_Scroll_Adjustments : constant Glib.Signal_Name := "set_scroll_adjustments";
Signal_Toggle_Overwrite : constant Glib.Signal_Name := "toggle_overwrite";
procedure Gtk_New
| ( | Widget | : out Gtk_Text_View; |
| Buffer | : Gtk.Text_Buffer.Gtk_Text_Buffer := null); |
procedure Initialize
| ( | Widget | : access Gtk_Text_View_Record'Class; |
| Buffer | : Gtk.Text_Buffer.Gtk_Text_Buffer); |
function Get_Type return Glib.GType;
procedure Set_Buffer
| ( | Text_View | : access Gtk_Text_View_Record; |
| Buffer | : access Gtk.Text_Buffer.Gtk_Text_Buffer_Record'Class); |
function Get_Buffer
| ( | Text_View | : access Gtk_Text_View_Record) return Gtk.Text_Buffer.Gtk_Text_Buffer; |
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; |
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); |
procedure Scroll_Mark_Onscreen
| ( | Text_View | : access Gtk_Text_View_Record; |
| Mark | : access Gtk.Text_Mark.Gtk_Text_Mark_Record'Class); |
function Move_Mark_Onscreen
| ( | Text_View | : access Gtk_Text_View_Record; |
| Mark | : access Gtk.Text_Mark.Gtk_Text_Mark_Record'Class) return Boolean; |
function Place_Cursor_Onscreen
| ( | Text_View | : access Gtk_Text_View_Record) return Boolean; |
procedure Get_Visible_Rect
| ( | Text_View | : access Gtk_Text_View_Record; |
| Visible_Rect | : out Gdk.Rectangle.Gdk_Rectangle); |
procedure Get_Iter_Location
| ( | Text_View | : access Gtk_Text_View_Record; |
| Iter | : Gtk.Text_Iter.Gtk_Text_Iter; | |
| Location | : out Gdk.Rectangle.Gdk_Rectangle); |
procedure Get_Iter_At_Location
| ( | Text_View | : access Gtk_Text_View_Record; |
| Iter | : out Gtk.Text_Iter.Gtk_Text_Iter; | |
| X | : Gint; | |
| Y | : Gint); |
procedure Get_Iter_At_Position
| ( | Text_View | : access Gtk_Text_View_Record; |
| Iter | : out Gtk.Text_Iter.Gtk_Text_Iter; | |
| Trailing | : out Gint; | |
| X | : Gint; | |
| Y | : Gint); |
procedure Get_Line_Yrange
| ( | Text_View | : access Gtk_Text_View_Record; |
| Iter | : Gtk.Text_Iter.Gtk_Text_Iter; | |
| Y | : out Gint; | |
| Height | : out Gint); |
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); |
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); |
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); |
function Get_Window
| ( | Text_View | : access Gtk_Text_View_Record; |
| Win | : Gtk.Enums.Gtk_Text_Window_Type) return Gdk.Window.Gdk_Window; |
function Get_Window_Type
| ( | Text_View | : access Gtk_Text_View_Record; |
| Window | : Gdk.Window.Gdk_Window) return Gtk.Enums.Gtk_Text_Window_Type; |
procedure Set_Border_Window_Size
| ( | Text_View | : access Gtk_Text_View_Record; |
| The_Type | : Gtk.Enums.Gtk_Text_Window_Type; | |
| Size | : Gint); |
function Get_Border_Window_Size
| ( | Text_View | : access Gtk_Text_View_Record; |
| The_Type | : Gtk.Enums.Gtk_Text_Window_Type) return Gint; |
procedure Set_Disable_Scroll_On_Focus
| ( | Text_View | : access Gtk_Text_View_Record; |
| Set | : Boolean); |
function Get_Disable_Scroll_On_Focus
| ( | Text_View | : access Gtk_Text_View_Record) return Boolean; |
procedure Forward_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
| ( | 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_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 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 Move_Child
| ( | Text_View | : access Gtk_Text_View_Record; |
| Child | : access Gtk.Widget.Gtk_Widget_Record'Class; | |
| Xpos | : Gint; | |
| Ypos | : Gint); |
function Get_Default_Attributes
| ( | Text_View | : access Gtk_Text_View_Record) return Gtk.Text_Attributes.Gtk_Text_Attributes; |
procedure Set_Cursor_Visible
| ( | Text_View | : access Gtk_Text_View_Record; |
| Setting | : Boolean := True); |
function Get_Cursor_Visible
| ( | Text_View | : access Gtk_Text_View_Record) return Boolean; |
procedure Set_Wrap_Mode
| ( | Text_View | : access Gtk_Text_View_Record; |
| Wrap_Mode | : Gtk.Enums.Gtk_Wrap_Mode); |
function Get_Wrap_Mode
| ( | Text_View | : access Gtk_Text_View_Record) return Gtk.Enums.Gtk_Wrap_Mode; |
procedure Set_Editable
| ( | Text_View | : access Gtk_Text_View_Record; |
| Setting | : Boolean := True); |
function Get_Editable
| ( | Text_View | : access Gtk_Text_View_Record) return Boolean; |
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; |
procedure Set_Tabs
| ( | Text_View | : access Gtk_Text_View_Record; |
| Tabs | : Pango.Tabs.Pango_Tab_Array); |
function Get_Tabs
| ( | Text_View | : access Gtk_Text_View_Record) return Pango.Tabs.Pango_Tab_Array; |
procedure Set_Overwrite
| ( | Text_View | : access Gtk_Text_View_Record; |
| Overwrite | : Boolean); |
function Get_Overwrite
| ( | Text_View | : access Gtk_Text_View_Record) return Boolean; |
procedure Set_Accepts_Tab
| ( | Text_View | : access Gtk_Text_View_Record; |
| Accepts_Tab | : Boolean); |
function Get_Accepts_Tab
| ( | Text_View | : access Gtk_Text_View_Record) return Boolean; |
Binding from C File version 2.8.17