[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-mnstbs

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2009年 2月 22日 (日) 08:39:56 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-mnstbs
-------------------------
@@ -150,14 +150,12 @@
    menu.append(clear)
  
    # Create a keyboard accelerator group for the application.
-   
    group = Gtk::AccelGroup.new
    window.add_accel_group(group)
    menu.accel_group=(group)
  
    # Add the necessary keyboard accelerators.
    # pulse.add_accelerator('activate', group, accel_key, accel_mods, accel_flags)
-   
    pulse.add_accelerator('activate', group, Gdk::Keyval::GDK_P,
          Gdk::Window::CONTROL_MASK, Gtk::ACCEL_VISIBLE)
    fill.add_accelerator('activate', group, Gdk::Keyval::GDK_F,
@@ -171,9 +169,5 @@
  
    # We do not need this method since there is no detach in our program.
    # Also the API documentation is rather vague about its usage
-   
    menu.attach_to_widget(progb) {|attach_widgt, mnu| puts "detaching" }
-   
    menu.show_all
  end
  




ruby-gnome2-cvs メーリングリストの案内
Back to archive index