ruby-****@sourc*****
ruby-****@sourc*****
2005年 6月 17日 (金) 11:26:38 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?Gdk%3A%3AGeometry ------------------------- @@ -19,7 +19,7 @@ window.set_geometry_hints(terminal, hints, Gdk::Window::HINT_RESIZE_INC | Gdk::Window::HINT_MIN_SIZE | - Gdk::WIndow::BASE_SIZE) + Gdk::Window::BASE_SIZE) The other useful fields are the min_aspect and max_aspect fields; these contain a width/height ratio as a floating point number. If a geometry widget is set, the aspect applies to the geometry widget rather than the entire window. The most common use of these hints is probably to set min_aspect and max_aspect to the same value, thus forcing the window to keep a constant aspect ratio.