Displaying 20 results from an estimated 154 matches for "menubar".
2007 May 09
5
layouts + routes = confused
...s, but I''m trying to get them to work
together.
MY first task was to implement a user authentication system
(registration/login/logout/change_password). This works fine with my
User controller/model/views. Now, I''ve made a default layout that
resembles the following:
[header]
[menubar]
[toolbar][main content]
[footer]
I made another controller called main that i am rendering into the
main content part of my layout. I''ve added a route to go to main/
index when at my url, so it''s the default page. The layout HTML looks
like this:
<html>
.....
<body&g...
2008 May 11
2
instabilities in wxRuby 1.9.6
...help with this.
Peter.
class ChildFrame < Wx::Frame
def initialize parent
super(parent, -1, "Child frame")
viewMenu = Wx::Menu.new
viewMenu.append(Wx::ID_CLOSE, "Close\tCtrl-W", "Close this window")
evt_menu(Wx::ID_CLOSE) { show false }
menuBar = Wx::MenuBar.new
menuBar.append(viewMenu, "&View")
set_menu_bar menuBar
end
end
class TestFrame < Wx::Frame
def initialize
super(nil, -1, "Test Frame")
menu = Wx::Menu.new
menuItem = Wx::MenuItem.new(menu, -1, "Show child")
menu.ap...
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
...in:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1109</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-07-05 14:45:1...
2007 May 22
0
[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction
...#ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1029</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt>...
2005 Apr 14
2
Menu issues with WeatherScope
Hi all,
In my continuing efforts to get Weatherscope working in wine, I've
noticed an issue with the menubar. (WeatherScope is available here:
http://sdg.ocs.ou.edu/builds/final/win/WeatherScope/WeatherScope-1.2.1.exe)
Specifically, the menubar is not normally visible while running under
Wine. I am still able to access the menus by clicking on them, but I
have to guess as to their position. If I change...
2008 May 20
0
[ wxruby-Bugs-20255 ] Instabilities on Linux - 1.9.7
...uire ''wx''
class ChildFrame < Wx::Frame
def initialize parent
super(parent, -1, "Child frame")
viewMenu = Wx::Menu.new
viewMenu.append(Wx::ID_CLOSE, "Close\tCtrl-W", "Close this window")
evt_menu(Wx::ID_CLOSE) { show false }
menuBar = Wx::MenuBar.new
menuBar.append(viewMenu, "&View")
set_menu_bar menuBar
end
end
class TestFrame < Wx::Frame
def initialize
super(nil, -1, "Test Frame")
menu = Wx::Menu.new
menuItem = Wx::MenuItem.new(menu, -1, "Show child")
menu.ap...
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
...licking elsewhere dismisses the
-menu). Menus may be used to construct either menu bars or popup menus.
</del><ins>+A menu is a pull-down or pop-up list of items. The Wx::Menu class may be
+used to construct either menu bars (associated with a "Frame":frame.html
+via its "Menubar":menubar.html ) or popup menus. Items are represented
+as text, and some platforms, they may also have icons. One item is
+selected by clicking on it, or by using a shortcut, to start an
+application action. Clicking elsewhere dismisses the menu.
</ins><span class="cx">...
2007 Oct 27
0
[ wxruby-Bugs-15115 ] MenuBar and Statusbar showing wrong text
...5, was opened at 27-10-2007 13:50
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=15115&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: MenuBar and Statusbar showing wrong text
Initial Comment:
$LANGUAGE = "pt-br"
WHITE_SPACE_ST = { "pt-br" => "Exibe Espa?os em Branco" }
ABOUT_ST = { "pt-br" => "Exibe informa??es sobre o programa" }
menuView.append(Toggle_Whitespace, WHITE_SPACE[$...
2006 Jul 24
6
MiniFrame.i
Hi
Another little patch, adding MiniFrame (a frame with small title bar and
buttons which doesn''t appear in the desktop taskbar).
Also a sample - not very interesting, happy to roll this into something
else if that''s better.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2004 Apr 23
11
Building wxruby-swig for Mac
...-common -pipe
-fno-common -x objective-c++ -I
/usr/local/lib/ruby/gems/1.8/rake-0.3.1/lib -I
/usr/local/lib/ruby/site_ruby/1.8 -I
/usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin -I
/usr/local/lib/ruby/site_ruby -I /usr/local/lib/ruby/1.8 -I
/usr/local/lib/ruby/1.8/powerpc-darwin -I . -o obj/MenuBar.o
src/MenuBar.cpp
src/MenuBar.cpp: In function `VALUE _wrap_wxMenuBar_FindMenu(int,
VALUE*, long
unsigned int)'':
src/MenuBar.cpp:883: warning: passing `const wxMenuBar'' as `this''
argument of `
int wxMenuBar::FindMenu(const wxString&)'' discards qual...
2011 Sep 06
0
How to get Menubar in IE7
I am newbie for wine and recently I installed wine-1.3.26 in my workstation. My operating System is centos 6. I successfully installed IE7 using wine. But I cannot get menu bar in IE7. I can get Address bar only but I cannot get other menu bars. I will really appreciate if anyone can help me what I have to do to get menu bar on IE7.
Thanks
2004 May 03
1
Sub-menus?
Hey guys,
I have been trying unsuccessfully to create a menu that holds "sub-menus".
To clarify, I want something along the lines of when you click on a File
menu, then see the "New" menu, which you can click on to open a new layer of
menus. Is this supported yet in WxRuby?
Robert
_________________________________________________________________
Getting married? Find
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
...BelongingToWindow(child_sizer, rb_child_sizer); }
-                }
-        }
-
-}
-// Similar to Sizers, MenuBar requires a special mark routine. This is
-// because Wx::Menu is not a subclass of Window so isn''t automatically
-// protected in the mark phase by Wx::App. However, the ruby object
-// still must not be destroyed while it is still accessible on screen,
-// because it may still handle even...
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...BelongingToWindow(child_sizer, rb_child_sizer); }
+                }
+        }
+
+}
+// Similar to Sizers, MenuBar requires a special mark routine. This is
+// because Wx::Menu is not a subclass of Window so isn''t automatically
+// protected in the mark phase by Wx::App. However, the ruby object
+// still must not be destroyed while it is still accessible on screen,
+// because it may still handle even...
2004 May 01
4
wxruby-swig 0.0.13 is up
This fixes the wxRED Mac link error. Thanks to Nick for pointing out
that I hadn''t removed some wxRED code related to an earlier experiment.
Hopefully this one will build on Mac, end-to-end.
I also found and fixed a problem that was causing the crash on exit:
wxWindows automatically deletes the C++ app object as soon as the last
frame is closed. Later, when ruby garbage collected the
2004 Jun 04
2
building wxruby-swig 0.0.16 on Mac
Grabbed 0.0.16 and tried a build for kicks.
...all good, except for a warning in MenuBar.cpp, then...
g++ -c -I/usr/local/lib/wx/include/mac-2.4 -D__WXMAC__ -DWXMAKINGDLL
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fno-common -fno-common -pipe
-fno-common -x objective-c++ -I
/usr/local/lib/ruby/gems/1.8/rake-0.3.2/lib -I
/usr/local/lib/ruby/site_ruby/1.8 -I
/usr/local/lib/ruby/site...
2007 Oct 19
1
tcltk: help with tkmenubutton
...verting the examples of Perl/Tk from page...
http://gd.tuwien.ac.at/languages/perl/Hajji-Perlkurs/part4/tkperl.html
... to R's tcltk.
But I don't know how to convert one line in this example:
library(tcltk)
# create a main window
mw <- tktoplevel()
# a menu consists of a horizontal menubar,
# with associated submenus
##### first create the horizontal menubar
mb <- tkframe(mw, relief = 'raised', bd = 2)
# now put in the menubar some menubuttons
m_file <- tkmenubutton(mb, text = "File", underline = 0)
# pack everything from the menubar
tkpack(mb, side =...
2004 Mar 16
0
MDI and submenues
...well. There is a test
example at the end of the message.
--
Best regards,
Pavel
mailto:papushev@inp.nsk.su
#================================================
require ''wxruby''
include Wx
class MyFrame < MDIParentFrame
def initialize(title)
super( nil, -1, title )
@menuBar = MenuBar.new
@fileMenu = Menu.new
@menuBar.append(@fileMenu, ''File'')
@fileMenu.append(:mi_file_new.to_i, "New")
evt_menu(:mi_file_new.to_i){|a|
MDIChildFrame.new(self, -1, "MDI child")
}
#<< Test submenu
@submenu1 = Me...
2010 Jul 30
6
sha1sum mismatch!
....exe and try again.
------------------------------------------------------
/home/kasey/.themes/XPLuna/gtk-2.0/panel.rc:13: Unable to locate image file in pixmap_path: "shadows/window-bg.png"
/home/kasey/.themes/XPLuna/gtk-2.0/panel.rc:112: Unable to locate image file in pixmap_path: "menubar/menubar-item.png"
/home/kasey/.themes/XPLuna/gtk-2.0/panel.rc:115: Background image options specified without filename
2011 May 14
1
odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.
...creating: Configurations2/statusbar/
inflating: Configurations2/accelerator/current.xml
creating: Configurations2/floater/
creating: Configurations2/popupmenu/
creating: Configurations2/progressbar/
creating: Configurations2/toolpanel/
creating: Configurations2/menubar/
creating: Configurations2/toolbar/
creating: Configurations2/images/Bitmaps/
inflating: content.xml
inflating: manifest.rdf
inflating: styles.xml
extracting: meta.xml
extracting: Thumbnails/thumbnail.png
inflating: settings.x...