Index

Package: Text_Tag

Description

package Gtk.Text_Tag is

A tag is a set of properties that can be associated with a range of text.

See also Gtk.Text_Attributes. Tags should be in a Gtk_Text_Tag_Table for a given before before they are used in that buffer.

Binding from C File version 2.8.17

Packages

Text_Tag_List (new Glib.GSlist.Generic_SList)

package Text_Tag_List is new Glib.GSlist.Generic_SList
     (Gpointer => Gtk_Text_Tag);

Classes

Gtk_Text_Tag_Record

type Gtk_Text_Tag_Record is new GObject_Record with private;

Ancestors:

Primitive operations:

Get_Priority
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Set_Priority

Types

Gtk_Text_Tag

type Gtk_Text_Tag is access all Gtk_Text_Tag_Record'Class;

Constants & Global variables

Background_Full_Height_Property (Glib.Properties.Property_Boolean)

Background_Full_Height_Property : constant Glib.Properties.Property_Boolean;

Background_Gdk_Property (Gdk.Color.Property_Gdk_Color)

Background_Gdk_Property     : constant Gdk.Color.Property_Gdk_Color;

Background_Stipple_Property (Glib.Properties.Property_C_Proxy)

Background_Stipple_Property : constant Glib.Properties.Property_C_Proxy;

Foreground_Gdk_Property (Gdk.Color.Property_Gdk_Color)

Foreground_Gdk_Property     : constant Gdk.Color.Property_Gdk_Color;

Foreground_Stipple_Property (Glib.Properties.Property_C_Proxy)

Foreground_Stipple_Property : constant Glib.Properties.Property_C_Proxy;

Inside_Wrap_Property (Glib.Properties.Property_Int)

Inside_Wrap_Property        : constant Glib.Properties.Property_Int;

Left_Margin_Property (Glib.Properties.Property_Int)

Left_Margin_Property        : constant Glib.Properties.Property_Int;

Paragraph_Background_Property (Glib.Properties.Property_String)

Paragraph_Background_Property  : constant Glib.Properties.Property_String;

Pixels_Above_Lines_Property (Glib.Properties.Property_Int)

Pixels_Above_Lines_Property : constant Glib.Properties.Property_Int;

Pixels_Below_Lines_Property (Glib.Properties.Property_Int)

Pixels_Below_Lines_Property : constant Glib.Properties.Property_Int;

Pixels_Inside_Wrap_Property (Glib.Properties.Property_Int)

Pixels_Inside_Wrap_Property : constant Glib.Properties.Property_Int;

Right_Margin_Property (Glib.Properties.Property_Int)

Right_Margin_Property       : constant Glib.Properties.Property_Int;

Size_Points_Property (Glib.Properties.Property_Double)

Size_Points_Property        : constant Glib.Properties.Property_Double;

Strikethrough_Property (Glib.Properties.Property_Boolean)

Strikethrough_Property      : constant Glib.Properties.Property_Boolean;

Background_Full_Height_Set_Property (Glib.Properties.Property_Boolean)

Background_Full_Height_Set_Property : constant
     Glib.Properties.Property_Boolean;

Background_Set_Property (Glib.Properties.Property_Boolean)

Background_Set_Property         : constant Glib.Properties.Property_Boolean;

Background_Stipple_Set_Property (Glib.Properties.Property_Boolean)

Background_Stipple_Set_Property : constant Glib.Properties.Property_Boolean;

Editable_Set_Property (Glib.Properties.Property_Boolean)

Editable_Set_Property           : constant Glib.Properties.Property_Boolean;

Foreground_Set_Property (Glib.Properties.Property_Boolean)

Foreground_Set_Property         : constant Glib.Properties.Property_Boolean;

Foreground_Stipple_Set_Property (Glib.Properties.Property_Boolean)

Foreground_Stipple_Set_Property : constant Glib.Properties.Property_Boolean;

Inside_Wrap_Set_Property (Glib.Properties.Property_Boolean)

Inside_Wrap_Set_Property        : constant Glib.Properties.Property_Boolean;

Invisible_Set_Property (Glib.Properties.Property_Boolean)

Invisible_Set_Property          : constant Glib.Properties.Property_Boolean;

Justification_Set_Property (Glib.Properties.Property_Boolean)

Justification_Set_Property      : constant Glib.Properties.Property_Boolean;

Language_Set_Property (Glib.Properties.Property_Boolean)

Language_Set_Property           : constant Glib.Properties.Property_Boolean;

Left_Margin_Set_Property (Glib.Properties.Property_Boolean)

Left_Margin_Set_Property        : constant Glib.Properties.Property_Boolean;

Paragraph_Background_Set_Property (Glib.Properties.Property_Boolean)

Paragraph_Background_Set_Property : constant
     Glib.Properties.Property_Boolean;

Pixels_Above_Lines_Set_Property (Glib.Properties.Property_Boolean)

Pixels_Above_Lines_Set_Property : constant Glib.Properties.Property_Boolean;

Pixels_Below_Lines_Set_Property (Glib.Properties.Property_Boolean)

Pixels_Below_Lines_Set_Property : constant Glib.Properties.Property_Boolean;

Pixels_Inside_Wrap_Set_Property (Glib.Properties.Property_Boolean)

Pixels_Inside_Wrap_Set_Property : constant Glib.Properties.Property_Boolean;

Right_Margin_Set_Property (Glib.Properties.Property_Boolean)

Right_Margin_Set_Property       : constant Glib.Properties.Property_Boolean;

Stretch_Set_Property (Glib.Properties.Property_Boolean)

Stretch_Set_Property            : constant Glib.Properties.Property_Boolean;

Strikethrough_Set_Property (Glib.Properties.Property_Boolean)

Strikethrough_Set_Property      : constant Glib.Properties.Property_Boolean;

Underline_Set_Property (Glib.Properties.Property_Boolean)

Underline_Set_Property          : constant Glib.Properties.Property_Boolean;

Variant_Set_Property (Glib.Properties.Property_Boolean)

Variant_Set_Property            : constant Glib.Properties.Property_Boolean;

Wrap_Mode_Set_Property (Glib.Properties.Property_Boolean)

Wrap_Mode_Set_Property          : constant Glib.Properties.Property_Boolean;

Signal_Event (Glib.Signal_Name)

Signal_Event : constant Glib.Signal_Name := "event";

Subprograms & Entries

Convert

function Convert 
(W: Gtk_Text_Tag) return System.Address;

Convert

function Convert 
(W: System.Address) return Gtk_Text_Tag;

Gtk_New

procedure Gtk_New 
(Widget: out Gtk_Text_Tag;
Name: String := "");
Create a new Gtk_Text_Tag. Newly created tags must be added to the tags table for the buffer you intend to use them in. Gtk.Text_Tag_Table.Add (Get_Tag_Table (Buffer), Tag); See also Gtk.Text_Buffer.Create_Tag which is a more convenient way of creating a tag.

Initialize

procedure Initialize 
(Widget: access Gtk_Text_Tag_Record'Class;
Name: String := "");
Internal initialization function. See the section "Creating your own widgets" in the documentation.

Get_Type

function Get_Type return Glib.GType;
Return the internal value associated with this widget.

Set_Priority

procedure Set_Priority 
(Tag: access Gtk_Text_Tag_Record;
Priority: Gint);

Get_Priority

function Get_Priority 
(Tag: access Gtk_Text_Tag_Record) return Gint;
Set the priority of a Gtk_Text_Tag. Valid priorities start at 0 and go to one less than Table_Size. Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags "win" if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with Gtk.Text_Buffer.Create_Tag, which adds the tag to the buffer's table automatically.