Description
This widget displays any given text that can be manipulated by
both the user and the programmer.
The text can optionally be interactively modified by the user.
Different colors and fonts can be used for any given part of the
text. The background can have any color, or even be a pixmap.
Subprograms
-
procedure Gtk_New
(Text : out Gtk_Text;
Hadj : in Adjustment.Gtk_Adjustment := null;
Vadj : in Adjustment.Gtk_Adjustment := null);
-
procedure Initialize
(Text : access Gtk_Text_Record'Class;
Hadj : in Adjustment.Gtk_Adjustment := null;
Vadj : in Adjustment.Gtk_Adjustment := null);
-
-
function Get_Text_Area (Text : access Gtk_Text_Record)
return Gdk.Window.Gdk_Window;
-
function Backward_Delete (Text : access Gtk_Text_Record;
Nchars : in Guint)
return Boolean;
-
function Forward_Delete (Text : access Gtk_Text_Record;
Nchars : in Guint)
return Boolean;
-
procedure Freeze (Text : access Gtk_Text_Record);
-
procedure Thaw (Text : access Gtk_Text_Record);
-
-
-
function Get_Length (Text : access Gtk_Text_Record) return Guint;
-
function Get_Point (Text : access Gtk_Text_Record) return Guint;
-
procedure Set_Point (Text : access Gtk_Text_Record;
Index : in Guint);
-
procedure Insert
(Text : access Gtk_Text_Record;
Font : in Gdk.Font.Gdk_Font := Gdk.Font.Null_Font;
Fore : in Gdk.Color.Gdk_Color := Gdk.Color.Null_Color;
Back : in Gdk.Color.Gdk_Color := Gdk.Color.Null_Color;
Chars : in UTF8_String := "";
Length : in Gint := -1);
-
-
procedure Set_Editable (Text : access Gtk_Text_Record;
Editable : in Boolean := True);
-
procedure Set_Line_Wrap (Text : access Gtk_Text_Record;
Line_Wrap : in Boolean := True);
-
procedure Set_Word_Wrap (Text : access Gtk_Text_Record;
Word_Wrap : in Boolean := True);