Enum gtk4::AccessibleState [−][src]
#[non_exhaustive]
pub enum AccessibleState {
Busy,
Checked,
Disabled,
Expanded,
Hidden,
Invalid,
Pressed,
Selected,
// some variants omitted
}
Expand description
The possible accessible states of a Accessible
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
A “busy” state. This state has boolean values
A “checked” state; indicates the current
state of a CheckButton
. Value type: AccessibleTristate
A “disabled” state; corresponds to the
GtkWidget:sensitive
property on Widget
. It indicates a UI element
that is perceivable, but not editable or operable. Value type: boolean
An “expanded” state; corresponds to the
GtkExpander:expanded
property on Expander
. Value type: boolean
or undefined
A “hidden” state; corresponds to the
GtkWidget:visible
property on Widget
. You can use this state
explicitly on UI elements that should not be exposed to an assistive
technology. Value type: boolean
See also: Disabled
An “invalid” state; set when a widget
is showing an error. Value type: AccessibleInvalidState
A “pressed” state; indicates the current
state of a ToggleButton
. Value type: AccessibleTristate
enumeration
A “selected” state; set when a widget is selected. Value type: boolean or undefined
Implementations
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for AccessibleState
impl Send for AccessibleState
impl Sync for AccessibleState
impl Unpin for AccessibleState
impl UnwindSafe for AccessibleState
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.