search for: view_menu

Displaying 2 results from an estimated 2 matches for "view_menu".

Did you mean: new_menu
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...ady") + set_min_size( Wx::Size.new(400,300) ) + setup_toolbars + setup_panes + setup_perspectives + setup_events + @mgr.update + end + + # + def setup_menu + mb = Wx::MenuBar.new + + file_menu = Wx::Menu.new + file_menu.append(Wx::ID_EXIT, "Exit") + + view_menu = Wx::Menu.new + view_menu.append(ID_CreateText, "Create Text Control") + view_menu.append(ID_CreateHTML, "Create HTML Control") + view_menu.append(ID_CreateTree, "Create Tree") + view_menu.append(ID_CreateGrid, "Create Grid") + view_menu.appen...
2007 Jul 05
6
mocking methods in the controller.
Hi, I''m very new to rspec so please be patient with me. I''ve tried to take some of my tests out of the controller specs to check for things that are rendered. This has not worked so well, since my views have the controller method current_user in quite a few places. Is there any way that I can define this so that my views will be executed? Will this same thing occur for all