pango Reference Manual

Synopsis

public class Layout : Object  {
    public                              Layout                    ( Context             context ) ;


    public    void                      context_changed           (  ) ;
    public    weak Layout               copy                      (  ) ;
    public    Alignment                 get_alignment             (  ) ;
    public    weak AttrList             get_attributes            (  ) ;
    public    bool                      get_auto_dir              (  ) ;
    public    weak Context              get_context               (  ) ;
    public    void                      get_cursor_pos            ( int                 index_,
                                                                    Rectangle           strong_pos,
                                                                    Rectangle           weak_pos ) ;
    public    EllipsizeMode             get_ellipsize             (  ) ;
    public    void                      get_extents               ( Rectangle           ink_rect,
                                                                    Rectangle           logical_rect ) ;
    public    weak FontDescription      get_font_description      (  ) ;
    public    int                       get_height                (  ) ;
    public    int                       get_indent                (  ) ;
    public    weak LayoutIter           get_iter                  (  ) ;
    public    bool                      get_justify               (  ) ;
    public    weak LayoutLine           get_line                  ( int                 line ) ;
    public    int                       get_line_count            (  ) ;
    public    weak LayoutLine           get_line_readonly         ( int                 line ) ;
    public    weak GLib.SList           get_lines                 (  ) ;
    public    weak GLib.SList           get_lines_readonly        (  ) ;
    public    void                      get_log_attrs             ( LogAttr[]           attrs ) ;
    public    void                      get_pixel_extents         ( Rectangle           ink_rect,
                                                                    Rectangle           logical_rect ) ;
    public    void                      get_pixel_size            ( int                 width,
                                                                    int                 height ) ;
    public    bool                      get_single_paragraph_mode (  ) ;
    public    void                      get_size                  ( int                 width,
                                                                    int                 height ) ;
    public    int                       get_spacing               (  ) ;
    public    weak TabArray             get_tabs                  (  ) ;
    public    weak string               get_text                  (  ) ;
    public    int                       get_unknown_glyphs_count  (  ) ;
    public    int                       get_width                 (  ) ;
    public    WrapMode                  get_wrap                  (  ) ;
    public    void                      index_to_line_x           ( int                 index_,
                                                                    bool                trailing,
                                                                    int                 line,
                                                                    int                 x_pos ) ;
    public    void                      index_to_pos              ( int                 index_,
                                                                    Rectangle           pos ) ;
    public    bool                      is_ellipsized             (  ) ;
    public    bool                      is_wrapped                (  ) ;
    public    void                      move_cursor_visually      ( bool                strong,
                                                                    int                 old_index,
                                                                    int                 old_trailing,
                                                                    int                 direction,
                                                                    int                 new_index,
                                                                    int                 new_trailing ) ;
    public    void                      set_alignment             ( Alignment           alignment ) ;
    public    void                      set_attributes            ( AttrList            attrs ) ;
    public    void                      set_auto_dir              ( bool                auto_dir ) ;
    public    void                      set_ellipsize             ( EllipsizeMode       ellipsize ) ;
    public    void                      set_font_description      ( FontDescription     desc ) ;
    public    void                      set_height                ( int                 height ) ;
    public    void                      set_indent                ( int                 indent ) ;
    public    void                      set_justify               ( bool                justify ) ;
    public    void                      set_markup                ( string              markup,
                                                                    int                 length ) ;
    public    void                      set_markup_with_accel     ( string              markup,
                                                                    int                 length,
                                                                    unichar             accel_marker,
                                                                    unichar             accel_char ) ;
    public    void                      set_single_paragraph_mode ( bool                setting ) ;
    public    void                      set_spacing               ( int                 spacing ) ;
    public    void                      set_tabs                  ( TabArray            tabs ) ;
    public    void                      set_text                  ( string              text,
                                                                    int                 length ) ;
    public    void                      set_width                 ( int                 width ) ;
    public    void                      set_wrap                  ( WrapMode            wrap ) ;
    public    bool                      xy_to_index               ( int                 x,
                                                                    int                 y,
                                                                    int                 index_,
                                                                    int                 trailing ) ;
}

Layout Description

Details

Constructor Details

Layout ()
    public                              Layout                    ( Context             context ) ;		

Field Details

Signal Details

Property Details

Method Details

context_changed ()
    public    void                      context_changed           (  ) ;		

copy ()
    public    weak Layout               copy                      (  ) ;		

get_alignment ()
    public    Alignment                 get_alignment             (  ) ;		

get_attributes ()
    public    weak AttrList             get_attributes            (  ) ;		

get_auto_dir ()
    public    bool                      get_auto_dir              (  ) ;		

get_context ()
    public    weak Context              get_context               (  ) ;		

get_cursor_pos ()
    public    void                      get_cursor_pos            ( int                 index_,
                                                                    Rectangle           strong_pos,
                                                                    Rectangle           weak_pos ) ;		

get_ellipsize ()
    public    EllipsizeMode             get_ellipsize             (  ) ;		

get_extents ()
    public    void                      get_extents               ( Rectangle           ink_rect,
                                                                    Rectangle           logical_rect ) ;		

get_font_description ()
    public    weak FontDescription      get_font_description      (  ) ;		

get_height ()
    public    int                       get_height                (  ) ;		

get_indent ()
    public    int                       get_indent                (  ) ;		

get_iter ()
    public    weak LayoutIter           get_iter                  (  ) ;		

get_justify ()
    public    bool                      get_justify               (  ) ;		

get_line ()
    public    weak LayoutLine           get_line                  ( int                 line ) ;		

get_line_count ()
    public    int                       get_line_count            (  ) ;		

get_line_readonly ()
    public    weak LayoutLine           get_line_readonly         ( int                 line ) ;		

get_lines ()
    public    weak GLib.SList           get_lines                 (  ) ;		

get_lines_readonly ()
    public    weak GLib.SList           get_lines_readonly        (  ) ;		

get_log_attrs ()
    public    void                      get_log_attrs             ( LogAttr[]           attrs ) ;		

get_pixel_extents ()
    public    void                      get_pixel_extents         ( Rectangle           ink_rect,
                                                                    Rectangle           logical_rect ) ;		

get_pixel_size ()
    public    void                      get_pixel_size            ( int                 width,
                                                                    int                 height ) ;		

get_single_paragraph_mode ()
    public    bool                      get_single_paragraph_mode (  ) ;		

get_size ()
    public    void                      get_size                  ( int                 width,
                                                                    int                 height ) ;		

get_spacing ()
    public    int                       get_spacing               (  ) ;		

get_tabs ()
    public    weak TabArray             get_tabs                  (  ) ;		

get_text ()
    public    weak string               get_text                  (  ) ;		

get_unknown_glyphs_count ()
    public    int                       get_unknown_glyphs_count  (  ) ;		

get_width ()
    public    int                       get_width                 (  ) ;		

get_wrap ()
    public    WrapMode                  get_wrap                  (  ) ;		

index_to_line_x ()
    public    void                      index_to_line_x           ( int                 index_,
                                                                    bool                trailing,
                                                                    int                 line,
                                                                    int                 x_pos ) ;		

index_to_pos ()
    public    void                      index_to_pos              ( int                 index_,
                                                                    Rectangle           pos ) ;		

is_ellipsized ()
    public    bool                      is_ellipsized             (  ) ;		

is_wrapped ()
    public    bool                      is_wrapped                (  ) ;		

move_cursor_visually ()
    public    void                      move_cursor_visually      ( bool                strong,
                                                                    int                 old_index,
                                                                    int                 old_trailing,
                                                                    int                 direction,
                                                                    int                 new_index,
                                                                    int                 new_trailing ) ;		

set_alignment ()
    public    void                      set_alignment             ( Alignment           alignment ) ;		

set_attributes ()
    public    void                      set_attributes            ( AttrList            attrs ) ;		

set_auto_dir ()
    public    void                      set_auto_dir              ( bool                auto_dir ) ;		

set_ellipsize ()
    public    void                      set_ellipsize             ( EllipsizeMode       ellipsize ) ;		

set_font_description ()
    public    void                      set_font_description      ( FontDescription     desc ) ;		

set_height ()
    public    void                      set_height                ( int                 height ) ;		

set_indent ()
    public    void                      set_indent                ( int                 indent ) ;		

set_justify ()
    public    void                      set_justify               ( bool                justify ) ;		

set_markup ()
    public    void                      set_markup                ( string              markup,
                                                                    int                 length ) ;		

set_markup_with_accel ()
    public    void                      set_markup_with_accel     ( string              markup,
                                                                    int                 length,
                                                                    unichar             accel_marker,
                                                                    unichar             accel_char ) ;		

set_single_paragraph_mode ()
    public    void                      set_single_paragraph_mode ( bool                setting ) ;		

set_spacing ()
    public    void                      set_spacing               ( int                 spacing ) ;		

set_tabs ()
    public    void                      set_tabs                  ( TabArray            tabs ) ;		

set_text ()
    public    void                      set_text                  ( string              text,
                                                                    int                 length ) ;		

set_width ()
    public    void                      set_width                 ( int                 width ) ;		

set_wrap ()
    public    void                      set_wrap                  ( WrapMode            wrap ) ;		

xy_to_index ()
    public    bool                      xy_to_index               ( int                 x,
                                                                    int                 y,
                                                                    int                 index_,
                                                                    int                 trailing ) ;		


Created by Valadoc