Forum: wxRuby [BUG] Menus on Snow Leopard not working correctly

7af070f1cb27230c1763d346faeae843?d=identicon&s=25 DeNigris Sean (Guest)
on 2010-03-13 23:02
(Received via mailing list)
I posted the following bug at
http://rubyforge.org/tracker/index.php?func=detail....
Is anyone else dealing with this?
3396e4a3df8a840faec520af8555a400?d=identicon&s=25 Mario Steele (Guest)
on 2010-03-13 23:33
(Received via mailing list)
Hello Sean,

This is a feature / bug with wxWidgets on Mac OS X.  The menus File and
Help
are actually combined into the "Main" Menu Item, which is the name of
the
application that is running.  Such as Quit, Preferences and Help gets
put
under the application name main menu, instead of under File, or Help.
This
is Mac OS X's way of doing things.

hth,

Mario
7af070f1cb27230c1763d346faeae843?d=identicon&s=25 DeNigris Sean (Guest)
on 2010-03-13 23:43
(Received via mailing list)
> This is a feature / bug with wxWidgets on Mac OS X.  The menus File and Help are 
actually combined into the "Main" Menu Item, which is the name of the application that is 
running.  Such as Quit, Preferences and Help gets put under the application name main 
menu, instead of under File, or Help.  This is Mac OS X's way of doing things.
Aha, okay.  Sounds good - except for two things:
1. it *shows" a File menu, which is weird (from a user standpoint).  Is
there a way to have it not show "File" at all and put the items under
the [application name] menu?
2. it doesn't show an [application name] menu at all, but a "ruby" menu,
which is also weird and not-very-mac.  Is there a way to actually get
the app name there instead of "ruby"?

Thanks for the help!
Sean
3396e4a3df8a840faec520af8555a400?d=identicon&s=25 Mario Steele (Guest)
on 2010-03-14 04:55
(Received via mailing list)
Hello again Sean,

On Sat, Mar 13, 2010 at 5:43 PM, DeNigris Sean
<sean@clipperadams.com>wrote:

> > This is a feature / bug with wxWidgets on Mac OS X.  The menus File and
> Help are actually combined into the "Main" Menu Item, which is the name of
> the application that is running.  Such as Quit, Preferences and Help gets
> put under the application name main menu, instead of under File, or Help.
>  This is Mac OS X's way of doing things.
> Aha, okay.  Sounds good - except for two things:
> 1. it *shows" a File menu, which is weird (from a user standpoint).  Is
> there a way to have it not show "File" at all and put the items under the
> [application name] menu?
>

I have not found a way to do this, Alex has more experience with this
sort
of thing, then I do.


> 2. it doesn't show an [application name] menu at all, but a "ruby" menu,
> which is also weird and not-very-mac.  Is there a way to actually get the
> app name there instead of "ruby"?
>

This has been answered before, there's two ways in which you can achieve
this.  The first is to rename the ruby executable (Which Mac OS X uses)
to
the name of your application, which isn't ideal.  Or, you can use the
.app
Directory creation for your program, and put in a manifest file that
will
describe what the program is, how to launch it, and what the Application
name is.  This second method is the ideal method in which to do it, as
it
solves a lot of problems, and gives you more options.  If you look at
Alex's
Weft-QDA Rake file, for OS X here:
http://weft-qda.rubyforge.org/svn/trunk/weft-qda/r...  You
can
learn much about how to create an .app directory, to store your program
code, and executables in.


>
> Thanks for the help!
>

Your welcome.


> Sean
>

hth,
Mario
This topic is locked and can not be replied to.