Enum gtk4::AccessibleRelation
source · #[non_exhaustive]
pub enum AccessibleRelation {
Show 18 variants
ActiveDescendant,
ColCount,
ColIndex,
ColIndexText,
ColSpan,
Controls,
DescribedBy,
Details,
ErrorMessage,
FlowTo,
LabelledBy,
Owns,
PosInSet,
RowCount,
RowIndex,
RowIndexText,
RowSpan,
SetSize,
}
Expand description
The possible accessible relations of a Accessible
.
Accessible relations can be references to other widgets, integers or strings.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ActiveDescendant
Identifies the currently active element when focus is on a composite widget, combobox, textbox, group, or application. Value type: reference
ColCount
Defines the total number of columns in a table, grid, or treegrid. Value type: integer
ColIndex
Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid. Value type: integer
ColIndexText
Defines a human readable text
alternative of ColIndex
. Value type: string
ColSpan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer
Controls
Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference
DescribedBy
Identifies the element (or elements) that describes the object. Value type: reference
Details
Identifies the element (or elements) that provide additional information related to the object. Value type: reference
ErrorMessage
Identifies the element that provides an error message for an object. Value type: reference
FlowTo
Identifies the next element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference
LabelledBy
Identifies the element (or elements) that labels the current element. Value type: reference
Owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship. Value type: reference
PosInSet
Defines an element’s number or position in the current set of listitems or treeitems. Value type: integer
RowCount
Defines the total number of rows in a table, grid, or treegrid. Value type: integer
RowIndex
Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid. Value type: integer
RowIndexText
Defines a human readable text alternative of aria-rowindex. Value type: string
RowSpan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer
SetSize
Defines the number of items in the current set of listitems or treeitems. Value type: integer
Implementations§
source§impl AccessibleRelation
impl AccessibleRelation
pub fn init_value(self, value: &mut Value)
Trait Implementations§
source§impl Clone for AccessibleRelation
impl Clone for AccessibleRelation
source§fn clone(&self) -> AccessibleRelation
fn clone(&self) -> AccessibleRelation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccessibleRelation
impl Debug for AccessibleRelation
source§impl Display for AccessibleRelation
impl Display for AccessibleRelation
source§impl<'a> FromValue<'a> for AccessibleRelation
impl<'a> FromValue<'a> for AccessibleRelation
§type Checker = GenericValueTypeChecker<AccessibleRelation>
type Checker = GenericValueTypeChecker<AccessibleRelation>
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moresource§impl Hash for AccessibleRelation
impl Hash for AccessibleRelation
source§impl Ord for AccessibleRelation
impl Ord for AccessibleRelation
source§fn cmp(&self, other: &AccessibleRelation) -> Ordering
fn cmp(&self, other: &AccessibleRelation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
source§impl PartialEq<AccessibleRelation> for AccessibleRelation
impl PartialEq<AccessibleRelation> for AccessibleRelation
source§fn eq(&self, other: &AccessibleRelation) -> bool
fn eq(&self, other: &AccessibleRelation) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AccessibleRelation> for AccessibleRelation
impl PartialOrd<AccessibleRelation> for AccessibleRelation
source§fn partial_cmp(&self, other: &AccessibleRelation) -> Option<Ordering>
fn partial_cmp(&self, other: &AccessibleRelation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for AccessibleRelation
impl StaticType for AccessibleRelation
source§fn static_type() -> Type
fn static_type() -> Type
Self
.source§impl ToValue for AccessibleRelation
impl ToValue for AccessibleRelation
source§impl ValueType for AccessibleRelation
impl ValueType for AccessibleRelation
§type Type = AccessibleRelation
type Type = AccessibleRelation
Type
from. Read moreimpl Copy for AccessibleRelation
impl Eq for AccessibleRelation
impl StructuralEq for AccessibleRelation
impl StructuralPartialEq for AccessibleRelation
Auto Trait Implementations§
impl RefUnwindSafe for AccessibleRelation
impl Send for AccessibleRelation
impl Sync for AccessibleRelation
impl Unpin for AccessibleRelation
impl UnwindSafe for AccessibleRelation
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.