[ruby-gnome2-doc-cvs] [Hiki] update - Gtk::CellRendererPixbuf

Back to archive index

ruby-****@lists***** ruby-****@lists*****
2003年 4月 1日 (火) 11:46:53 JST


-------------------------
REMOTE_ADDR = 61.204.181.66
REMOTE_HOST = 
-------------------------

-------------------------
= class Gtk::CellRendererPixbuf
The Gtk::CellRendererPixbuf is used for rendering a cell to a Gdk::Drawable with Gdk::Pixbuf. 

== super class
* Gtk::CellRenderer

== class methods
--- Gtk::CellRendererPixbuf.new
    Creates a new Gtk::CellRendererPixbuf. Adjust rendering parameters using object properties. Object properties can be set globally (with GLib::Object#set_property). Also, with Gtk::TreeViewColumn, you can bind a property to a value in a Gtk::TreeModel. For example, you can bind the "pixbuf" property on the cell renderer to a pixbuf value in the model, thus rendering a different image in each row of the Gtk::TreeView.
     * Returns : the new cell renderer

== public instance methods
--- pixbuf
    Returns Gdk::Pixbuf.
    * Returns: Gdk::Pixbuf
    
--- pixbuf=(pixbuf)
    Sets the pixbuf of the Gtk::CellRendererPixbuf.
    * pixbuf: Gdk::Pixbuf
    * Returns: pixbuf

--- set_pixbuf(pixbuf)
    Same as pixbuf=.
    * pixbuf: Gdk::Pixbuf
    * Returns: self

--- pixbuf_expander_closed
    Returns the expander is closed or not.
    * Returns: true if closed.
    
--- pixbuf_expander_closed=(closed)
    Sets the expander is closed or not.
    * closed: true if closed.
    * Returns: closed

--- set_pixbuf_expander_closed(closed)
    Same as set_pixbuf_expander_closed.
    * closed: true if closed.
    * Returns: self

--- pixbuf_expander_open
    Returns the expander is opened or not.
    * Returns: true or false
    
--- pixbuf_expander_open=(open)
    Sets the expander is opened or not.
    * open: true if opened.
    * Returns: open

--- set_pixbuf_expander_open(open)
    Same as set_pixbuf_expander_open.
    * open: true if opened.
    * Returns: self

- ((<Masao>))




ruby-gnome2-cvs メーリングリストの案内
Back to archive index