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

Zurück zum Archiv-Index

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


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

-------------------------
= class Gtk::CellRendererToggle
The Gtk::CellRendererToggle is used for rendering a cell to a Gdk::Drawable with toggle buttons. 

== super class
* Gtk::CellRenderer

== class methods
--- Gtk::CellRendererToggle.new
    Creates a new Gtk::CellRendererToggle. 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 "active" property on the cell renderer to a boolean value in the model, thus causing the check button to reflect the state of the model.
* Returns : the new cell renderer  

== public instance methods
--- activatable?
    Returns the value whether the toggle button can be activated or not.
    Returns: true if the button can be activated.

--- activatable=(actvatable)
    Sets the value whether the toggle button can be activated or not.
    * activatable: true if the button can be activated.
    * Returns: activatable
--- set_activatable(activatable)
    Same as activatable=.
    * activatable: true if the button can be activated.
    * Returns: self

--- active?
    Returns the toggle state of the button.
    * Returns: true if the toggle state is active.
--- active=(active)
    Sets the toggle state of the button.
    * active: true if the toggle state is active.  
    * Returns: active
--- set_active(active)
    Same as active=.
    * active: true if the toggle state is active.
    * Returns: self
   
--- radio?
    Returns the value whether the toggle button is drawn as radio button or as toggle button.
--- radio=(radio)
    Sets the value whether the toggle button is drawn as radio button or as toggle button.
    * radio: true if the toggle button is drawn as radio button.
    * Returns: radio
--- set_radio(radio)
    Same as radio=.
    * radio: true if the toggle button is drawn as radio button.
    * Returns: self

== signals
--- toggled: self, arg1
     * self: the object which received the signal.
     * arg1: String value(?).

- ((<Masao>))




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index