Typo in module Gtk::Accelerator doc?


#1

Hi,

at
http://ruby-gnome2.sourceforge.jp/fr/hiki.cgi?cmd=view&p=Gtk%3A%3AAccelerator&key=Gtk%3A%3AAccelerator.to_name

We can read this:

Gtk::Accelerator.to_name(key, mods)
Converts an accelerator keyval and modifier mask into a string
parseable by Gtk::Accelerator.parse. For example, if you pass in
Gdk::Keyval::GDK_q and Gdk::Keyval::GDK_CONTROL_MASK, this method
returns “q”.

we should read Gdk::Window::CONTROL_MASK instead of
Gdk::Keyval::GDK_CONTROL_MASK. I am wrong ?

cheers,

david maciejak


#2

Hi,

On Sat, 11 Mar 2006 18:33:58 +0100
“David M.” removed_email_address@domain.invalid wrote:

returns “q”.

we should read Gdk::Window::CONTROL_MASK instead of
Gdk::Keyval::GDK_CONTROL_MASK. I am wrong ?

You’re right. I fixed it. Thanks.


.:% Masao M.removed_email_address@domain.invalid


This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642