Editable.delegateGetAccessiblePlatformState

bool delegateGetAccessiblePlatformState(gtk.types.AccessiblePlatformState state)

Retrieves the accessible platform state from the editable delegate.

This is an helper function to retrieve the accessible state for [gtk.editable.Editable] interface implementations using a delegate pattern.

You should call this function in your editable widget implementation of the vfuncGtk.Accessible.get_platform_state virtual function, for instance:

static void
accessible_interface_init (GtkAccessibleInterface *iface)
{
 iface->get_platform_state = your_editable_get_accessible_platform_state;
}

static gboolean
your_editable_get_accessible_platform_state (GtkAccessible *accessible,
                                            GtkAccessiblePlatformState state)
{
 return gtk_editable_delegate_get_accessible_platform_state (GTK_EDITABLE (accessible), state);
}

Parameters

statewhat kind of accessible state to retrieve

Returns