Forum: Ruby-Gnome 2 typo in module Gtk::Accelerator doc ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
983428278161aebf0513417242794952?d=identicon&s=25 David Maciejak (Guest)
on 2006-03-11 18:35
(Received via mailing list)
Hi,

at
http://ruby-gnome2.sourceforge.jp/fr/hiki.cgi?cmd=...

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 "<Control>q".

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


cheers,

david maciejak
9fe908f5593444a40be14a424c372e58?d=identicon&s=25 Masao Mutoh (Guest)
on 2006-03-18 03:20
(Received via mailing list)
Hi,

On Sat, 11 Mar 2006 18:33:58 +0100
"David Maciejak" <david.maciejak@gmail.com> wrote:

> returns "<Control>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 Mutoh<mutoh@highway.ne.jp>


-------------------------------------------------------
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...
This topic is locked and can not be replied to.