[−][src]Enum atk::TextAttribute
Describes the text attributes supported
Variants (Non-exhaustive)
Invalid attribute, like bad spelling or grammar.
The pixel width of the left margin
The pixel width of the right margin
The number of pixels that the text is indented
Either "true" or "false" indicating whether text is visible or not
Either "true" or "false" indicating whether text is editable or not
Pixels of blank space to leave above each newline-terminated line.
Pixels of blank space to leave below each newline-terminated line.
Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph).
"true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character.
Number of pixels that the characters are risen above the baseline
"none", "single", "double", "low", or "error"
"true" or "false" whether the text is strikethrough
The size of the characters in points. eg: 10
The scale of the characters. The value is a string representation of a double
The weight of the characters.
The language used
The font family name
The background color. The value is an RGB value of the format "u
,u
,u
"
The foreground color. The value is an RGB value of the format "u
,u
,u
"
"true" if a GdkBitmap
is set for stippling the background color.
"true" if a GdkBitmap
is set for stippling the foreground color.
The wrap mode of the text, if any. Values are "none", "char", "word", or "word_char".
The direction of the text, if set. Values are "none", "ltr" or "rtl"
The justification of the text, if set. Values are "left", "right", "center" or "fill"
The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded"
The capitalization variant of the text, if set. Values are "normal" or "small_caps"
The slant style of the text, if set. Values are "normal", "oblique" or "italic"
not a valid text attribute, used for finding end of enumeration
Trait Implementations
impl Clone for TextAttribute
[src]
fn clone(&self) -> TextAttribute
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextAttribute
[src]
impl Debug for TextAttribute
[src]
impl Display for TextAttribute
[src]
impl Eq for TextAttribute
[src]
impl<'a> FromValue<'a> for TextAttribute
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for TextAttribute
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for TextAttribute
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for TextAttribute
[src]
fn cmp(&self, other: &TextAttribute) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<TextAttribute> for TextAttribute
[src]
fn eq(&self, other: &TextAttribute) -> bool
[src]
fn ne(&self, other: &TextAttribute) -> bool
[src]
impl PartialOrd<TextAttribute> for TextAttribute
[src]
fn partial_cmp(&self, other: &TextAttribute) -> Option<Ordering>
[src]
fn lt(&self, other: &TextAttribute) -> bool
[src]
fn le(&self, other: &TextAttribute) -> bool
[src]
fn gt(&self, other: &TextAttribute) -> bool
[src]
fn ge(&self, other: &TextAttribute) -> bool
[src]
impl SetValue for TextAttribute
[src]
impl StaticType for TextAttribute
[src]
fn static_type() -> Type
[src]
impl StructuralEq for TextAttribute
[src]
impl StructuralPartialEq for TextAttribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextAttribute
impl Send for TextAttribute
impl Sync for TextAttribute
impl Unpin for TextAttribute
impl UnwindSafe for TextAttribute
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
T: SetValue + ?Sized,
fn to_value(&self) -> Value
fn to_value_type(&self) -> Type
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,