ruby-****@sourc*****
ruby-****@sourc*****
2005年 6月 15日 (水) 01:17:28 JST
------------------------- REMOTE_ADDR = 218.45.66.76 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Gtk%3A%3ARcStyle ------------------------- @@ -61,40 +61,48 @@ Gets the foreground color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) * Returns: the Gdk::Color ---- set_fg(state, fg) +--- set_fg(state, r, g, b) Sets the foreground color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) - * fg: a new Gdk::Color + * r: red (0 - 65535) + * g: green (0 - 65535) + * b: blue (0 - 65535) * Returns: self --- bg(state) Gets the background color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) * Returns: the Gdk::Color ---- set_bg(state, bg) +--- set_bg(state, r, g, b) Sets the background color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) - * bg: a new Gdk::Color + * r: red (0 - 65535) + * g: green (0 - 65535) + * b: blue (0 - 65535) * Returns: self --- text(state) Gets the background color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) * Returns: the Gdk::Color ---- set_text(state, text) +--- set_text(state, r, g, b) Sets the background color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) - * text: a new Gdk::Color + * r: red (0 - 65535) + * g: green (0 - 65535) + * b: blue (0 - 65535) * Returns: self --- base(state) Gets the background color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) * Returns: the Gdk::Color ---- set_base(state, base) +--- set_base(state, r, g, b) Sets the background color on the state. * state: ((<GtkStateType|Gtk#GtkStateType>)) - * base: a new Gdk::Color + * r: red (0 - 65535) + * g: green (0 - 65535) + * b: blue (0 - 65535) * Returns: self --- xthickness @@ -125,5 +133,14 @@ ((<Gtk::RC>)), Gtk::Style == ChangeLog +* 2005-06-15: Fixed wrong explanations of set_(fg|bg|text|base) [bug:1219911] y ((<Masao>)) * 2005-03-29: Added. - ((<Masao>))