ruby-****@sourc*****
ruby-****@sourc*****
2005年 10月 26日 (水) 12:10:27 JST
------------------------- REMOTE_ADDR = 202.214.246.94 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /ja/hiki.cgi?Gtk%3A%3AScrolledWindow ------------------------- @@ -98,8 +98,9 @@ * 戻り値: 垂直スクロールバー (Gtk::VScrollbar) --- policy - Retrieves the current policy values for the horizontal and vertical scrollbars. See Gtk::ScrolledWindow#set_policy. - * Returns: [hscrollbar_policy, vscrollbar_policy] + 現在の水平・垂直スクロールバーのそれぞれの((<GtkPolicyType|Gtk#GtkPolicyType>))を要素に持つ配列を取得します。 + Gtk::ScrolledWindow#set_policy 参照。 + * 戻り値: [hscrollbar_policy, vscrollbar_policy] --- set_policy(hscrollbar_policy, vscrollbar_policy) Sets the scrollbar policy for the horizontal and vertical scrollbars. The policy determines when the scrollbar should appear; it is a value from the ((<GtkPolicyType|Gtk#GtkPolicyType>)) constants. If Gtk::POLICY_ALWAYS, the scrollbar is always present; if Gtk::POLICY_NEVER, the scrollbar is never present; if Gtk::POLICY_AUTOMATIC, the scrollbar is present only if needed (that is, if the slider part of the bar would be smaller than the trough - the display is larger than the page size). * hscrollbar_policy: Policy for horizontal bar. (((<GtkPolicyType|Gtk#GtkPolicyType>)))