function Convert
(W : Gtk_Text_Tag)
return System.Address; |
|
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);
|
function Get_Type return Glib.GType; |
Return the internal value associated with this widget.
|
function Get_Priority
(Tag : access Gtk_Text_Tag_Record)
return Gint; |
Return the tag priority.
|
procedure Set_Priority
(Tag : access Gtk_Text_Tag_Record;
Priority : 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.
|