search for: fxmenucommand

Displaying 5 results from an estimated 5 matches for "fxmenucommand".

2005 Aug 05
3
Popup menu attached to a FXTreeItem
Hi, I''m using FXRuby 1.0 on Windows. I''d like to display a popup menu after a right click on a tree item, I cannot make it work : #-------------------- root = FXTreeList.new(parent, 1, self, 0) pop = FXMenuPane.new(parent) expandCmd = FXMenuCommand.new(pop, "Expand", nil, app) expandCmd.connect(SEL_COMMAND) { root.currentItem.expanded=(true) } root.connect(SEL_RIGHTBUTTONRELEASE) do |sender, selector, data| pop.popup(root, data.rootclick_x, data.rootclick_y) end #--------------------- The same kind of code works with a FX...
2012 Mar 08
5
FXRuby 1.6.23 released
...ge and derivatives * Build Windows binary gem per cross compiler on Linux * Add support for Rubinius (currently requires rubinius from git) * Add alias FXApp#modalWindow, as described in rdoc * Add quality parameter to FXJPGImage and FXJPGIcon * Fix invalid memory access in final GC call when using FXMenuCommand with acckey * Fix double referenced foxObj when borrowed object registration is triggered from C++ * Fix Segfault while GC''ing FXWindows * Fix ''object allocation not allowed while garbage collection'' bug * Fix clipboard handling on windows * Add missing namespace qualifie...
2007 May 19
3
table with no row headers
Is this the right way to turn off row headers? table.rowHeaderMode = LAYOUT_FIX_WIDTH table.rowHeaderWidth = 0 -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
2008 Jun 12
0
[Foxgui-users] Segmentation fault on exit
...;'s windows > application.create(); > > // Run the application > return application.run(); > > Viewer is a gl window with a menubar across the top; one of the entries > in the pull-down menu is an exit button, implemented thus; > > > filemenuQuit_ = new FXMenuCommand > ( > filemenu_, > "&Quit\tCtl-Q", > NULL, > getApp(), > FXApp::ID_QUIT > ); > > which I believe is the standard way of exiting a Fox application window. > viewer also contains a destructor function ~viewer which clean...
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
...indow", nil, nil, DECOR_ALL, 0, 0, 600, 350) # Menu bar stretched along the top of the main window menubar = FXMenuBar.new(self, LAYOUT_SIDE_TOP|LAYOUT_FILL_X) # File menu filemenu = FXMenuPane.new(self) FXMenuTitle.new(menubar, "&File", nil, filemenu) FXMenuCommand.new(filemenu, "&Quit\tCtl-Q\tQuit the application", nil, app, FXApp::ID_QUIT) # Field field = FXTextField.new(self, 15) # Table f = FXHorizontalFrame.new(self, LAYOUT_FILL_X|LAYOUT_FILL_Y) table = FXTable.new(f, nil, 0, TABLE_COL_SIZABLE|LAYOUT_FI...