Represents a link (i.e. a uri).
A widget that contains one or more links should implement the [ifaceGtk.AccessibleHypertext] interface and return GtkAccessibleHyperlink objects for each of the links.
function "+"
(Widget : access Gtk_Accessible_Hyperlink_Record'Class)
return Gtk.Accessible.Gtk_Accessible
function "-"
(Interf : Gtk.Accessible.Gtk_Accessible)
return Gtk_Accessible_Hyperlink
procedure Announce
(Self : not null access Gtk_Accessible_Hyperlink_Record;
Message : UTF8_String;
Priority : Gtk.Accessible.Gtk_Accessible_Announcement_Priority)
function Get_Accessible_Id
(Self : not null access Gtk_Accessible_Hyperlink_Record)
return UTF8_String
function Get_Accessible_Parent
(Self : not null access Gtk_Accessible_Hyperlink_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Accessible_Role
(Self : not null access Gtk_Accessible_Hyperlink_Record)
return Gtk.Accessible.Gtk_Accessible_Role
function Get_At_Context
(Self : not null access Gtk_Accessible_Hyperlink_Record)
return Gtk.Atcontext.Gtk_Atcontext
function Get_Bounds
(Self : not null access Gtk_Accessible_Hyperlink_Record;
X : out Glib.Gint;
Y : out Glib.Gint;
Width : out Glib.Gint;
Height : out Glib.Gint) return Boolean
function Get_First_Accessible_Child
(Self : not null access Gtk_Accessible_Hyperlink_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Next_Accessible_Sibling
(Self : not null access Gtk_Accessible_Hyperlink_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Platform_State
(Self : not null access Gtk_Accessible_Hyperlink_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State) return Boolean
function Get_Type return Glib.GType
type Gtk_Accessible_Hyperlink is access all Gtk_Accessible_Hyperlink_Record'Class;
function Gtk_Accessible_Hyperlink_New
(Parent : Gtk.Accessible_Hypertext.Gtk_Accessible_Hypertext;
Index : Guint;
URI : UTF8_String;
Bounds : Gtk.Accessible_Text.Gtk_Accessible_Text_Range)
return Gtk_Accessible_Hyperlink
Creates an accessible object that represents a hyperlink. This is meant to be used with an implementation of the [ifaceGtk.AccessibleHypertext] interface. Since: gtk+ 4.22
the parent
the index of this link in the parent
the uri
the text range that the link occupies (or 0, 0)
type Gtk_Accessible_Hyperlink_Record is new GObject_Record with null record;
procedure Gtk_New
(Self : out Gtk_Accessible_Hyperlink;
Parent : Gtk.Accessible_Hypertext.Gtk_Accessible_Hypertext;
Index : Guint;
URI : UTF8_String;
Bounds : Gtk.Accessible_Text.Gtk_Accessible_Text_Range)
Creates an accessible object that represents a hyperlink. This is meant to be used with an implementation of the [ifaceGtk.AccessibleHypertext] interface. Since: gtk+ 4.22 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the parent
the index of this link in the parent
the uri
the text range that the link occupies (or 0, 0)
package Implements_Gtk_Accessible is new Glib.Types.Implements
(Gtk.Accessible.Gtk_Accessible, Gtk_Accessible_Hyperlink_Record, Gtk_Accessible_Hyperlink);
procedure Initialize
(Self : not null access Gtk_Accessible_Hyperlink_Record'Class;
Parent : Gtk.Accessible_Hypertext.Gtk_Accessible_Hypertext;
Index : Guint;
URI : UTF8_String;
Bounds : Gtk.Accessible_Text.Gtk_Accessible_Text_Range)
Creates an accessible object that represents a hyperlink. This is meant to be used with an implementation of the [ifaceGtk.AccessibleHypertext] interface. Since: gtk+ 4.22 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the parent
the index of this link in the parent
the uri
the text range that the link occupies (or 0, 0)
procedure Reset_Property
(Self : not null access Gtk_Accessible_Hyperlink_Record;
Property : Gtk.Accessible.Gtk_Accessible_Property)
procedure Reset_Relation
(Self : not null access Gtk_Accessible_Hyperlink_Record;
Relation : Gtk.Accessible.Gtk_Accessible_Relation)
procedure Reset_State
(Self : not null access Gtk_Accessible_Hyperlink_Record;
State : Gtk.Accessible.Gtk_Accessible_State)
procedure Set_Accessible_Parent
(Self : not null access Gtk_Accessible_Hyperlink_Record;
Parent : Gtk.Accessible.Gtk_Accessible;
Next_Sibling : Gtk.Accessible.Gtk_Accessible)
procedure Set_Platform_State
(Self : not null access Gtk_Accessible_Hyperlink_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State;
Enabled : Boolean)
Sets a platform state on the accessible. Since: gtk+ 4.22
the platform state to change
the new value for the platform state
procedure Update_Next_Accessible_Sibling
(Self : not null access Gtk_Accessible_Hyperlink_Record;
New_Sibling : Gtk.Accessible.Gtk_Accessible)
procedure Update_Platform_State
(Self : not null access Gtk_Accessible_Hyperlink_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State)