From: Kouhei S. <ko...@co...> - 2009-12-15 12:40:11
|
須藤です。 In <85my1mcar7.wl%zn...@mb...> "[ruby-gnome2-devel-ja] Gtk::MenuItem.new" on Mon, 14 Dec 2009 15:47:40 +0900, Kazuhiro NISHIYAMA <zn...@mb...> wrote: > http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3AMenuItem#Gtk%3A%3AMenuItem.new > に > > | Gtk::MenuItem.new(label = nil, use_underline = true) > > | label: the text label to display next to the radio button. If nil, will act as a menu separator (inert horizontal line). > > と書いてありますが、label に nil を指定すると TypeError になります。 > 何も引数を指定しなければ期待通り separator になりました。 ありがとうございます。 直しました。 > それから書いていて気付いたのですが、 inert は insert の typo のようです。 Wikiの方を直してもらえますか? |