Displaying 2 results from an estimated 2 matches for "runmodalwhileshown".
2008 Jan 21
1
FXSplashWindow
...uire ''fox16''
include Fox
app = FXApp.new("App")
icon = nil
File.open(''icon.gif'', ''rb'') { |f|
icon = FXGIFIcon.new(app, f.read)
}
splash = FXSplashWindow.new(app,icon)
splash.create
splash.show(PLACEMENT_OWNER)
app.runModalWhileShown(splash)
I get a Segmentation fault at the splash.create line. Does
FXSplashWindow work in fxRuby 1.3.13?
Thanks,
Jason Thomas
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the...
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) }