gtk+-2.0 Reference Manual

Synopsis

public class CellRenderer : Object  {
    public    uint                      editing ;


    public    weak string               cell_background           { set; } ;
    public    weak Gdk.Color            cell_background_gdk       { get; set; } ;
    public    weak bool                 cell_background_set       { get; set; } ;
    public    weak int                  height                    { get; set; } ;
    public    weak bool                 is_expanded               { get; set; } ;
    public    weak bool                 is_expander               { get; set; } ;
    public    weak CellRendererMode     mode                      { get; set; } ;
    public    weak bool                 sensitive                 { get; set; } ;
    public    weak bool                 visible                   { get; set; } ;
    public    weak int                  width                     { get; set; } ;
    public    weak float                xalign                    { get; set; } ;
    public    weak uint                 xpad                      { get; set; } ;
    public    weak float                yalign                    { get; set; } ;
    public    weak uint                 ypad                      { get; set; } ;


    public    signal void               editing_canceled          (  )  ;
    public    signal void               editing_started           ( CellEditable        editable,
                                                                    string              path )  ;


    public    void                      get_fixed_size            ( int                 width,
                                                                    int                 height ) ;
    public    void                      set_fixed_size            ( int                 width,
                                                                    int                 height ) ;
    public    void                      stop_editing              ( bool                canceled ) ;
    public    virtual bool              activate                  ( Gdk.Event           event,
                                                                    Widget              widget,
                                                                    string              path,
                                                                    Gdk.Rectangle       background_area,
                                                                    Gdk.Rectangle       cell_area,
                                                                    CellRendererState   flags ) ;
    public    virtual void              get_size                  ( Widget              widget,
                                                                    Gdk.Rectangle?      cell_area,
                                                                    int                 x_offset,
                                                                    int                 y_offset,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    virtual void              render                    ( Gdk.Window          window,
                                                                    Widget              widget,
                                                                    Gdk.Rectangle       background_area,
                                                                    Gdk.Rectangle       cell_area,
                                                                    Gdk.Rectangle       expose_area,
                                                                    CellRendererState   flags ) ;
    public    virtual weak CellEditable  start_editing             ( Gdk.Event           event,
                                                                    Widget              widget,
                                                                    string              path,
                                                                    Gdk.Rectangle       background_area,
                                                                    Gdk.Rectangle       cell_area,
                                                                    CellRendererState   flags ) ;
}

CellRenderer Description

Details

Constructor Details

Field Details

editing
    public    uint                      editing ;		

Signal Details

editing_canceled
    public    signal void               editing_canceled          (  )  ;		

editing_started
    public    signal void               editing_started           ( CellEditable        editable,
                                                                    string              path )  ;		

Property Details

cell_background
    public    weak string               cell_background           { set; } ;		

cell_background_gdk
    public    weak Gdk.Color            cell_background_gdk       { get; set; } ;		

cell_background_set
    public    weak bool                 cell_background_set       { get; set; } ;		

height
    public    weak int                  height                    { get; set; } ;		

is_expanded
    public    weak bool                 is_expanded               { get; set; } ;		

is_expander
    public    weak bool                 is_expander               { get; set; } ;		

mode
    public    weak CellRendererMode     mode                      { get; set; } ;		

sensitive
    public    weak bool                 sensitive                 { get; set; } ;		

visible
    public    weak bool                 visible                   { get; set; } ;		

width
    public    weak int                  width                     { get; set; } ;		

xalign
    public    weak float                xalign                    { get; set; } ;		

xpad
    public    weak uint                 xpad                      { get; set; } ;		

yalign
    public    weak float                yalign                    { get; set; } ;		

ypad
    public    weak uint                 ypad                      { get; set; } ;		

Method Details

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

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

stop_editing ()
    public    void                      stop_editing              ( bool                canceled ) ;		

activate ()
    public    virtual bool              activate                  ( Gdk.Event           event,
                                                                    Widget              widget,
                                                                    string              path,
                                                                    Gdk.Rectangle       background_area,
                                                                    Gdk.Rectangle       cell_area,
                                                                    CellRendererState   flags ) ;		

get_size ()
    public    virtual void              get_size                  ( Widget              widget,
                                                                    Gdk.Rectangle?      cell_area,
                                                                    int                 x_offset,
                                                                    int                 y_offset,
                                                                    int                 width,
                                                                    int                 height ) ;		

render ()
    public    virtual void              render                    ( Gdk.Window          window,
                                                                    Widget              widget,
                                                                    Gdk.Rectangle       background_area,
                                                                    Gdk.Rectangle       cell_area,
                                                                    Gdk.Rectangle       expose_area,
                                                                    CellRendererState   flags ) ;		

start_editing ()
    public    virtual weak CellEditable  start_editing             ( Gdk.Event           event,
                                                                    Widget              widget,
                                                                    string              path,
                                                                    Gdk.Rectangle       background_area,
                                                                    Gdk.Rectangle       cell_area,
                                                                    CellRendererState   flags ) ;		


Created by Valadoc