[−][src]Trait pango::LayoutExt
Required methods
fn context_changed(&self)
fn copy(&self) -> Option<Layout>
fn get_alignment(&self) -> Alignment
fn get_attributes(&self) -> Option<AttrList>
fn get_auto_dir(&self) -> bool
fn get_baseline(&self) -> i32
fn get_character_count(&self) -> i32
fn get_context(&self) -> Option<Context>
fn get_cursor_pos(&self, index_: i32) -> (Rectangle, Rectangle)
fn get_ellipsize(&self) -> EllipsizeMode
fn get_extents(&self) -> (Rectangle, Rectangle)
fn get_font_description(&self) -> Option<FontDescription>
fn get_height(&self) -> i32
fn get_indent(&self) -> i32
fn get_iter(&self) -> Option<LayoutIter>
fn get_justify(&self) -> bool
fn get_line(&self, line: i32) -> Option<LayoutLine>
fn get_line_count(&self) -> i32
fn get_line_readonly(&self, line: i32) -> Option<LayoutLine>
fn get_lines(&self) -> Vec<LayoutLine>
fn get_lines_readonly(&self) -> Vec<LayoutLine>
fn get_pixel_extents(&self) -> (Rectangle, Rectangle)
fn get_pixel_size(&self) -> (i32, i32)
fn get_serial(&self) -> u32
fn get_single_paragraph_mode(&self) -> bool
fn get_size(&self) -> (i32, i32)
fn get_spacing(&self) -> i32
fn get_tabs(&self) -> Option<TabArray>
fn get_text(&self) -> Option<GString>
fn get_unknown_glyphs_count(&self) -> i32
fn get_width(&self) -> i32
fn get_wrap(&self) -> WrapMode
fn index_to_line_x(&self, index_: i32, trailing: bool) -> (i32, i32)
fn index_to_pos(&self, index_: i32) -> Rectangle
fn is_ellipsized(&self) -> bool
fn is_wrapped(&self) -> bool
fn move_cursor_visually(
&self,
strong: bool,
old_index: i32,
old_trailing: i32,
direction: i32
) -> (i32, i32)
&self,
strong: bool,
old_index: i32,
old_trailing: i32,
direction: i32
) -> (i32, i32)
fn set_alignment(&self, alignment: Alignment)
fn set_attributes<'a, P: Into<Option<&'a AttrList>>>(&self, attrs: P)
fn set_auto_dir(&self, auto_dir: bool)
fn set_ellipsize(&self, ellipsize: EllipsizeMode)
fn set_font_description<'a, P: Into<Option<&'a FontDescription>>>(
&self,
desc: P
)
&self,
desc: P
)
fn set_height(&self, height: i32)
fn set_indent(&self, indent: i32)
fn set_justify(&self, justify: bool)
fn set_markup(&self, markup: &str)
fn set_markup_with_accel(&self, markup: &str, accel_marker: char) -> char
fn set_single_paragraph_mode(&self, setting: bool)
fn set_spacing(&self, spacing: i32)
fn set_tabs<'a, P: Into<Option<&'a TabArray>>>(&self, tabs: P)
fn set_text(&self, text: &str)
fn set_width(&self, width: i32)
fn set_wrap(&self, wrap: WrapMode)
fn xy_to_index(&self, x: i32, y: i32) -> (bool, i32, i32)
Implementors
impl<O: IsA<Layout>> LayoutExt for O[src]
fn context_changed(&self)[src]
fn copy(&self) -> Option<Layout>[src]
fn get_alignment(&self) -> Alignment[src]
fn get_attributes(&self) -> Option<AttrList>[src]
fn get_auto_dir(&self) -> bool[src]
fn get_baseline(&self) -> i32[src]
fn get_character_count(&self) -> i32[src]
fn get_context(&self) -> Option<Context>[src]
fn get_cursor_pos(&self, index_: i32) -> (Rectangle, Rectangle)[src]
fn get_ellipsize(&self) -> EllipsizeMode[src]
fn get_extents(&self) -> (Rectangle, Rectangle)[src]
fn get_font_description(&self) -> Option<FontDescription>[src]
fn get_height(&self) -> i32[src]
fn get_indent(&self) -> i32[src]
fn get_iter(&self) -> Option<LayoutIter>[src]
fn get_justify(&self) -> bool[src]
fn get_line(&self, line: i32) -> Option<LayoutLine>[src]
fn get_line_count(&self) -> i32[src]
fn get_line_readonly(&self, line: i32) -> Option<LayoutLine>[src]
fn get_lines(&self) -> Vec<LayoutLine>[src]
fn get_lines_readonly(&self) -> Vec<LayoutLine>[src]
fn get_pixel_extents(&self) -> (Rectangle, Rectangle)[src]
fn get_pixel_size(&self) -> (i32, i32)[src]
fn get_serial(&self) -> u32[src]
fn get_single_paragraph_mode(&self) -> bool[src]
fn get_size(&self) -> (i32, i32)[src]
fn get_spacing(&self) -> i32[src]
fn get_tabs(&self) -> Option<TabArray>[src]
fn get_text(&self) -> Option<GString>[src]
fn get_unknown_glyphs_count(&self) -> i32[src]
fn get_width(&self) -> i32[src]
fn get_wrap(&self) -> WrapMode[src]
fn index_to_line_x(&self, index_: i32, trailing: bool) -> (i32, i32)[src]
fn index_to_pos(&self, index_: i32) -> Rectangle[src]
fn is_ellipsized(&self) -> bool[src]
fn is_wrapped(&self) -> bool[src]
fn move_cursor_visually(
&self,
strong: bool,
old_index: i32,
old_trailing: i32,
direction: i32
) -> (i32, i32)[src]
&self,
strong: bool,
old_index: i32,
old_trailing: i32,
direction: i32
) -> (i32, i32)
fn set_alignment(&self, alignment: Alignment)[src]
fn set_attributes<'a, P: Into<Option<&'a AttrList>>>(&self, attrs: P)[src]
fn set_auto_dir(&self, auto_dir: bool)[src]
fn set_ellipsize(&self, ellipsize: EllipsizeMode)[src]
fn set_font_description<'a, P: Into<Option<&'a FontDescription>>>(
&self,
desc: P
)[src]
&self,
desc: P
)