1 2@c %start of fragment 3 4@deftp Class <gtk-cell-renderer-pixbuf> 5Derives from @code{<gtk-cell-renderer>}. 6 7This class defines the following slots: 8 9@table @code 10@item pixbuf 11The pixbuf to render 12 13@item pixbuf-expander-open 14Pixbuf for open expander 15 16@item pixbuf-expander-closed 17Pixbuf for closed expander 18 19@item stock-id 20The stock ID of the stock icon to render 21 22@item stock-size 23The GtkIconSize value that specifies the size of the rendered icon 24 25@item stock-detail 26Render detail to pass to the theme engine 27 28@item follow-state 29Whether the rendered pixbuf should be colorized according to the state 30 31@item icon-name 32The name of the icon from the icon theme 33 34@end table 35 36@end deftp 37 38@deffn Function gtk-cell-renderer-pixbuf-new @result{}@tie{} (ret@tie{}@code{<gtk-cell-renderer>}) 39Creates a new @code{<gtk-cell-renderer-pixbuf>}. Adjust rendering parameters 40using object properties. Object properties can be set globally (with 41@code{g-object-set}). Also, with @code{<gtk-tree-view-column>}, you can bind a 42property to a value in a @code{<gtk-tree-model>}. For example, you can bind the 43"pixbuf" property on the cell renderer to a pixbuf value in the model, thus 44rendering a different image in each row of the @code{<gtk-tree-view>}. 45 46@table @var 47@item ret 48the new cell renderer 49 50@end table 51 52@end deffn 53 54 55@c %end of fragment 56