Trait gtk::prelude::TextTagExt[][src]

pub trait TextTagExt: 'static {
Show methods fn changed(&self, size_changed: bool);
fn event<P: IsA<Object>>(
        &self,
        event_object: &P,
        event: &Event,
        iter: &TextIter
    ) -> bool;
fn priority(&self) -> i32;
fn set_priority(&self, priority: i32);
fn is_accumulative_margin(&self) -> bool;
fn set_accumulative_margin(&self, accumulative_margin: bool);
fn set_background(&self, background: Option<&str>);
fn is_background_full_height(&self) -> bool;
fn set_background_full_height(&self, background_full_height: bool);
fn is_background_full_height_set(&self) -> bool;
fn set_background_full_height_set(&self, background_full_height_set: bool);
fn background_rgba(&self) -> Option<RGBA>;
fn set_background_rgba(&self, background_rgba: Option<&RGBA>);
fn is_background_set(&self) -> bool;
fn set_background_set(&self, background_set: bool);
fn direction(&self) -> TextDirection;
fn set_direction(&self, direction: TextDirection);
fn is_editable(&self) -> bool;
fn set_editable(&self, editable: bool);
fn is_editable_set(&self) -> bool;
fn set_editable_set(&self, editable_set: bool);
fn is_fallback(&self) -> bool;
fn set_fallback(&self, fallback: bool);
fn is_fallback_set(&self) -> bool;
fn set_fallback_set(&self, fallback_set: bool);
fn family(&self) -> Option<GString>;
fn set_family(&self, family: Option<&str>);
fn is_family_set(&self) -> bool;
fn set_family_set(&self, family_set: bool);
fn font(&self) -> Option<GString>;
fn set_font(&self, font: Option<&str>);
fn font_desc(&self) -> Option<FontDescription>;
fn set_font_desc(&self, font_desc: Option<&FontDescription>);
fn font_features(&self) -> Option<GString>;
fn set_font_features(&self, font_features: Option<&str>);
fn is_font_features_set(&self) -> bool;
fn set_font_features_set(&self, font_features_set: bool);
fn set_foreground(&self, foreground: Option<&str>);
fn foreground_rgba(&self) -> Option<RGBA>;
fn set_foreground_rgba(&self, foreground_rgba: Option<&RGBA>);
fn is_foreground_set(&self) -> bool;
fn set_foreground_set(&self, foreground_set: bool);
fn indent(&self) -> i32;
fn set_indent(&self, indent: i32);
fn is_indent_set(&self) -> bool;
fn set_indent_set(&self, indent_set: bool);
fn is_invisible(&self) -> bool;
fn set_invisible(&self, invisible: bool);
fn is_invisible_set(&self) -> bool;
fn set_invisible_set(&self, invisible_set: bool);
fn justification(&self) -> Justification;
fn set_justification(&self, justification: Justification);
fn is_justification_set(&self) -> bool;
fn set_justification_set(&self, justification_set: bool);
fn language(&self) -> Option<GString>;
fn set_language(&self, language: Option<&str>);
fn is_language_set(&self) -> bool;
fn set_language_set(&self, language_set: bool);
fn left_margin(&self) -> i32;
fn set_left_margin(&self, left_margin: i32);
fn is_left_margin_set(&self) -> bool;
fn set_left_margin_set(&self, left_margin_set: bool);
fn letter_spacing(&self) -> i32;
fn set_letter_spacing(&self, letter_spacing: i32);
fn is_letter_spacing_set(&self) -> bool;
fn set_letter_spacing_set(&self, letter_spacing_set: bool);
fn name(&self) -> Option<GString>;
fn set_paragraph_background(&self, paragraph_background: Option<&str>);
fn paragraph_background_rgba(&self) -> Option<RGBA>;
fn set_paragraph_background_rgba(
        &self,
        paragraph_background_rgba: Option<&RGBA>
    );
fn is_paragraph_background_set(&self) -> bool;
fn set_paragraph_background_set(&self, paragraph_background_set: bool);
fn pixels_above_lines(&self) -> i32;
fn set_pixels_above_lines(&self, pixels_above_lines: i32);
fn is_pixels_above_lines_set(&self) -> bool;
fn set_pixels_above_lines_set(&self, pixels_above_lines_set: bool);
fn pixels_below_lines(&self) -> i32;
fn set_pixels_below_lines(&self, pixels_below_lines: i32);
fn is_pixels_below_lines_set(&self) -> bool;
fn set_pixels_below_lines_set(&self, pixels_below_lines_set: bool);
fn pixels_inside_wrap(&self) -> i32;
fn set_pixels_inside_wrap(&self, pixels_inside_wrap: i32);
fn is_pixels_inside_wrap_set(&self) -> bool;
fn set_pixels_inside_wrap_set(&self, pixels_inside_wrap_set: bool);
fn right_margin(&self) -> i32;
fn set_right_margin(&self, right_margin: i32);
fn is_right_margin_set(&self) -> bool;
fn set_right_margin_set(&self, right_margin_set: bool);
fn rise(&self) -> i32;
fn set_rise(&self, rise: i32);
fn is_rise_set(&self) -> bool;
fn set_rise_set(&self, rise_set: bool);
fn scale(&self) -> f64;
fn set_scale(&self, scale: f64);
fn is_scale_set(&self) -> bool;
fn set_scale_set(&self, scale_set: bool);
fn size(&self) -> i32;
fn set_size(&self, size: i32);
fn size_points(&self) -> f64;
fn set_size_points(&self, size_points: f64);
fn is_size_set(&self) -> bool;
fn set_size_set(&self, size_set: bool);
fn stretch(&self) -> Stretch;
fn set_stretch(&self, stretch: Stretch);
fn is_stretch_set(&self) -> bool;
fn set_stretch_set(&self, stretch_set: bool);
fn is_strikethrough(&self) -> bool;
fn set_strikethrough(&self, strikethrough: bool);
fn strikethrough_rgba(&self) -> Option<RGBA>;
fn set_strikethrough_rgba(&self, strikethrough_rgba: Option<&RGBA>);
fn is_strikethrough_rgba_set(&self) -> bool;
fn set_strikethrough_rgba_set(&self, strikethrough_rgba_set: bool);
fn is_strikethrough_set(&self) -> bool;
fn set_strikethrough_set(&self, strikethrough_set: bool);
fn style(&self) -> Style;
fn set_style(&self, style: Style);
fn is_style_set(&self) -> bool;
fn set_style_set(&self, style_set: bool);
fn tabs(&self) -> Option<TabArray>;
fn set_tabs(&self, tabs: Option<&TabArray>);
fn is_tabs_set(&self) -> bool;
fn set_tabs_set(&self, tabs_set: bool);
fn underline(&self) -> Underline;
fn set_underline(&self, underline: Underline);
fn underline_rgba(&self) -> Option<RGBA>;
fn set_underline_rgba(&self, underline_rgba: Option<&RGBA>);
fn is_underline_rgba_set(&self) -> bool;
fn set_underline_rgba_set(&self, underline_rgba_set: bool);
fn is_underline_set(&self) -> bool;
fn set_underline_set(&self, underline_set: bool);
fn variant(&self) -> Variant;
fn set_variant(&self, variant: Variant);
fn is_variant_set(&self) -> bool;
fn set_variant_set(&self, variant_set: bool);
fn weight(&self) -> i32;
fn set_weight(&self, weight: i32);
fn is_weight_set(&self) -> bool;
fn set_weight_set(&self, weight_set: bool);
fn wrap_mode(&self) -> WrapMode;
fn set_wrap_mode(&self, wrap_mode: WrapMode);
fn wraps_mode_set(&self) -> bool;
fn set_wrap_mode_set(&self, wrap_mode_set: bool);
fn connect_event<F: Fn(&Self, &Object, &Event, &TextIter) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_accumulative_margin_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_background_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_background_full_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_background_full_height_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_background_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_background_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_direction_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_editable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_editable_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_fallback_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_fallback_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_family_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_font_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_font_desc_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_font_features_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_font_features_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_foreground_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_foreground_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_foreground_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_indent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_indent_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_invisible_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_invisible_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_justification_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_justification_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_language_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_language_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_left_margin_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_left_margin_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_letter_spacing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_letter_spacing_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_paragraph_background_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_paragraph_background_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_paragraph_background_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixels_above_lines_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixels_above_lines_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixels_below_lines_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixels_below_lines_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixels_inside_wrap_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_pixels_inside_wrap_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_right_margin_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_right_margin_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_rise_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_rise_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_scale_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_scale_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_size_points_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_size_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_stretch_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_stretch_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_strikethrough_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_strikethrough_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_strikethrough_rgba_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_strikethrough_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_style_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_style_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_tabs_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_tabs_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_underline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_underline_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_underline_rgba_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_underline_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_variant_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_variant_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_weight_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_weight_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_wrap_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_wrap_mode_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

This is supported on crate feature v3_20 only.

Implementors