Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: AccessibleHyperlink

[15:7] extends: object

Represents a link (i.e. a uri). A widget that contains one or more links should implement the [iface@Gtk.AccessibleHypertext] interface and return GtkAccessibleHyperlink objects for each of the links.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • AccessibleHyperlink (parent = null, index = null, uri = null, bounds = null)

    Creates an accessible object that represents a hyperlink. This is meant to be used with an implementation of the [iface@Gtk.AccessibleHypertext] interface.

    • @p parent is the parent.
    • @p index is the index of this link in the parent.
    • @p uri is the uri.
    • @p bounds is the text range that the link occupies (or 0, 0).
  • toNativeHandle (Source)

    Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from fn.call(...), another generated wrapper exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asObject ()

    Wraps this handle as Object.

    • @r A Object object.
  • asAccessible ()

    Wraps this handle as Accessible.

    • @r A Accessible object.
  • set_platform_state (string state, bool enabled)

    Sets a platform state on the accessible.

    • @p state is the platform state to change.
    • @p enabled is the new value for the platform state.
    • @r None.