Skip to main content

PlugAccessibleBuilder

Struct PlugAccessibleBuilder 

Source
pub struct PlugAccessibleBuilder { /* private fields */ }
Available on gdk_backend=x11 and crate feature v3_24_30 only.
Expand description

A builder-pattern type to construct PlugAccessible objects.

Implementations§

Source§

impl PlugAccessibleBuilder

Source

pub fn accessible_description( self, accessible_description: impl Into<GString>, ) -> Self

Source

pub fn accessible_help_text( self, accessible_help_text: impl Into<GString>, ) -> Self

Source

pub fn accessible_id(self, accessible_id: impl Into<GString>) -> Self

Source

pub fn accessible_name(self, accessible_name: impl Into<GString>) -> Self

Source

pub fn accessible_parent(self, accessible_parent: &impl IsA<Object>) -> Self

Source

pub fn accessible_role(self, accessible_role: Role) -> Self

Source

pub fn accessible_table_caption( self, accessible_table_caption: impl Into<GString>, ) -> Self

Table caption. Since 1.3. Use table-caption-object instead.

Source

pub fn accessible_table_caption_object( self, accessible_table_caption_object: &impl IsA<Object>, ) -> Self

Source

pub fn accessible_table_column_description( self, accessible_table_column_description: impl Into<GString>, ) -> Self

Accessible table column description. Since 2.12. Use atk_table_get_column_description() and atk_table_set_column_description() instead.

Source

pub fn accessible_table_column_header( self, accessible_table_column_header: &impl IsA<Object>, ) -> Self

Accessible table column header. Since 2.12. Use atk_table_get_column_header() and atk_table_set_column_header() instead.

Source

pub fn accessible_table_row_description( self, accessible_table_row_description: impl Into<GString>, ) -> Self

Accessible table row description. Since 2.12. Use atk_table_get_row_description() and atk_table_set_row_description() instead.

Source

pub fn accessible_table_row_header( self, accessible_table_row_header: &impl IsA<Object>, ) -> Self

Accessible table row header. Since 2.12. Use atk_table_get_row_header() and atk_table_set_row_header() instead.

Source

pub fn accessible_table_summary( self, accessible_table_summary: &impl IsA<Object>, ) -> Self

Source

pub fn accessible_value(self, accessible_value: f64) -> Self

Numeric value of this object, in case being and AtkValue. Since 2.12. Use atk_value_get_value_and_text() to get the value, and value-changed signal to be notified on their value changes.

Source

pub fn build(self) -> PlugAccessible

Build the PlugAccessible.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.