# File gtk/sample/gtk-demo/sizegroup.rb, line 85 def add_row(table, row, size_group, label_text, options) label = Gtk::Label.new(label_text, true) label.set_alignment(0, 1) table.attach(label, 0, 1, row, row + 1, Gtk::EXPAND | Gtk::FILL, 0, 0, 0) option_menu = create_option_menu(options) label.set_mnemonic_widget(option_menu) size_group.add_widget(option_menu) table.attach(option_menu, 1, 2, row, row + 1, 0, 0, 0, 0) end