FxRuby: Popup menu

Hello,

does anyone know how to create popup menus with FXRuby? An example would
be great. Thanks.

Andreas

···


AVR-Tutorial, über 350 Links
Forum für AVRGCC und MSPGCC
-> http://www.mikrocontroller.net

Andreas Schwarz wrote:

Hello,

does anyone know how to create popup menus with FXRuby? An example would
be great. Thanks.

Andreas

See http://ruby-talk.org/67023

Joel VanderWerf wrote:

Andreas Schwarz wrote:

Hello,

does anyone know how to create popup menus with FXRuby? An example would
be great. Thanks.

Andreas

See http://ruby-talk.org/67023

Thanks, I’ll try it.

Another Question: are there predefined File Selection dialogs I can use?

Andreas Schwarz wrote:

Another Question: are there predefined File Selection dialogs I can use?

Maybe this helps:

http://fifthplanet.net/foxdoc-stable/classFXFileDialog.html

Andreas Schwarz wrote:

Another Question: are there predefined File Selection dialogs I can use?

As Joel has already pointed out, the class you’re looking for is
FXFileDialog. Its use is demonstrated in a number of the FXRuby example
programs (e.g. the imageviewer.rb example).