package Text_Tag_List is new Generic_SList (Gtk.Text_Tag.Gtk_Text_Tag);
type Gtk_Text_Tag_Record is new GObject_Record with null record;
type Gtk_Text_Tag is access all Gtk_Text_Tag_Record'Class;
Accumulative_Margin_Property : constant Glib.Properties.Property_Boolean;
Background_Property : constant Glib.Properties.Property_String;
Background_Full_Height_Property : constant Glib.Properties.Property_Boolean;
Background_Full_Height_Set_Property : constant Glib.Properties.Property_Boolean;
Background_Gdk_Property : constant Gdk.Color.Property_Gdk_Color;
Background_Rgba_Property : constant Gdk.RGBA.Property_RGBA;
Background_Set_Property : constant Glib.Properties.Property_Boolean;
Direction_Property : constant Gtk.Enums.Property_Gtk_Text_Direction;
Editable_Property : constant Glib.Properties.Property_Boolean;
Editable_Set_Property : constant Glib.Properties.Property_Boolean;
Family_Property : constant Glib.Properties.Property_String;
Family_Set_Property : constant Glib.Properties.Property_Boolean;
Font_Property : constant Glib.Properties.Property_String;
Font_Desc_Property : constant Pango.Font.Property_Font_Description;
Foreground_Property : constant Glib.Properties.Property_String;
Foreground_Gdk_Property : constant Gdk.Color.Property_Gdk_Color;
Foreground_Rgba_Property : constant Gdk.RGBA.Property_RGBA;
Foreground_Set_Property : constant Glib.Properties.Property_Boolean;
Indent_Property : constant Glib.Properties.Property_Int;
Indent_Set_Property : constant Glib.Properties.Property_Boolean;
Invisible_Property : constant Glib.Properties.Property_Boolean;
Invisible_Set_Property : constant Glib.Properties.Property_Boolean;
Justification_Property : constant Gtk.Enums.Property_Gtk_Justification;
Justification_Set_Property : constant Glib.Properties.Property_Boolean;
Language_Property : constant Glib.Properties.Property_String;
Language_Set_Property : constant Glib.Properties.Property_Boolean;
Left_Margin_Property : constant Glib.Properties.Property_Int;
Left_Margin_Set_Property : constant Glib.Properties.Property_Boolean;
Name_Property : constant Glib.Properties.Property_String;
Paragraph_Background_Property : constant Glib.Properties.Property_String;
Paragraph_Background_Gdk_Property : constant Gdk.Color.Property_Gdk_Color;
Paragraph_Background_Rgba_Property : constant Gdk.RGBA.Property_RGBA;
Paragraph_Background_Set_Property : constant Glib.Properties.Property_Boolean;
Pixels_Above_Lines_Property : constant Glib.Properties.Property_Int;
Pixels_Above_Lines_Set_Property : constant Glib.Properties.Property_Boolean;
Pixels_Below_Lines_Property : constant Glib.Properties.Property_Int;
Pixels_Below_Lines_Set_Property : constant Glib.Properties.Property_Boolean;
Pixels_Inside_Wrap_Property : constant Glib.Properties.Property_Int;
Pixels_Inside_Wrap_Set_Property : constant Glib.Properties.Property_Boolean;
Right_Margin_Property : constant Glib.Properties.Property_Int;
Right_Margin_Set_Property : constant Glib.Properties.Property_Boolean;
Rise_Property : constant Glib.Properties.Property_Int;
Rise_Set_Property : constant Glib.Properties.Property_Boolean;
Scale_Property : constant Glib.Properties.Property_Double;
Scale_Set_Property : constant Glib.Properties.Property_Boolean;
Size_Property : constant Glib.Properties.Property_Int;
Size_Points_Property : constant Glib.Properties.Property_Double;
Size_Set_Property : constant Glib.Properties.Property_Boolean;
Stretch_Property : constant Pango.Enums.Property_Stretch;
Stretch_Set_Property : constant Glib.Properties.Property_Boolean;
Strikethrough_Property : constant Glib.Properties.Property_Boolean;
Strikethrough_Set_Property : constant Glib.Properties.Property_Boolean;
Style_Property : constant Pango.Enums.Property_Style;
Style_Set_Property : constant Glib.Properties.Property_Boolean;
Tabs_Property : constant Glib.Properties.Property_Boxed;
Tabs_Set_Property : constant Glib.Properties.Property_Boolean;
Underline_Property : constant Pango.Enums.Property_Underline;
Underline_Set_Property : constant Glib.Properties.Property_Boolean;
Variant_Property : constant Pango.Enums.Property_Variant;
Variant_Set_Property : constant Glib.Properties.Property_Boolean;
Weight_Property : constant Pango.Enums.Property_Weight;
Weight_Set_Property : constant Glib.Properties.Property_Boolean;
Wrap_Mode_Property : constant Gtk.Enums.Property_Gtk_Wrap_Mode;
Wrap_Mode_Set_Property : constant Glib.Properties.Property_Boolean;
Signal_Event : constant Glib.Signal_Name := "event";
function Convert
( | R | : Gtk.Text_Tag.Gtk_Text_Tag) return System.Address; |
function Convert
( | R | : System.Address) return Gtk.Text_Tag.Gtk_Text_Tag; |
procedure Gtk_New
( | Tag | : out Gtk_Text_Tag; |
Name | : UTF8_String := ""); |
procedure Initialize
( | Tag | : not null access Gtk_Text_Tag_Record'Class; |
Name | : UTF8_String := ""); |
function Gtk_Text_Tag_New
( | Name | : UTF8_String := "") return Gtk_Text_Tag; |
function Get_Type return Glib.GType;
function Get_Priority
( | Tag | : not null access Gtk_Text_Tag_Record) return Gint; |
procedure Set_Priority
( | Tag | : not null access Gtk_Text_Tag_Record; |
Priority | : Gint); |
You may wish to begin by reading the <link linkend="TextWidget">text widget conceptual overview</link> which gives an overview of all the objects and data types related to the text widget and how they work together.
Tags should be in the Gtk.Text_Tag_Table.Gtk_Text_Tag_Table for a given Gtk.Text_Buffer.Gtk_Text_Buffer before using them with that buffer. gtk_text_buffer_create_tag is the best way to create tags. See <application>gtk3-demo</application> for numerous examples.
For each property of Gtk.Text_Tag.Gtk_Text_Tag, there is a "set" property, e.g. "font-set" corresponds to "font". These "set" properties reflect whether a property has been set or not. They are maintained by GTK+ and you should not set them independently.