search for: fxapp

Displaying 20 results from an estimated 24 matches for "fxapp".

Did you mean: xapp
2012 Mar 08
5
FXRuby 1.6.23 released
...e generated Manifest.txt * Support for parallel task execution with drake === 1.6.22 / 2012-02-21 * Allow better access to raw pixel data of FXImage 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 FXWindo...
2008 Nov 01
2
query FXRuby by ri
...n the new Vista. But I can use gem server to see the Rdoc about FxRuby''s classes on both computers. It looks Ruby doesn''t know that FxRuby''s RDoc is there. Is there any way to fix it? Thanks, Li ################################################# C:\Users\Alex>ri Fox::FXApp Nothing known about Fox::FXApp C:\Users\Alex>ri Fox.FXApp Nothing known about Fox.FXApp
2008 May 23
4
problem with non-focused fxruby gui freezing or blanking out.
I find that when a running fxruby program looses focus or another window is placed in front of it, when the fxruby window regains focus, many times the gui is now frozen or blank. This seems to happen especially frequently when the window covering it is a java or fox based application. Usually it comes back but sometimes it takes several minutes to do so. I would really like to find someway
2004 Jul 20
7
radiobuttons are weird in 1.2.x series
Hello all, Run groupbox.rb example in any of the two alpha versions and click the radiobutton in the upper right group box (those named Hilvesum 1, Hilversum 2, etc). You''ll notice that once a radiobutton is checked, it remains checked when some other radiobutton is checked. What''s the reason? Thank you. -- Best regards, Yuri Leikind
2008 Jun 12
0
[Foxgui-users] Segmentation fault on exit
...12 June 2008, you wrote: > Hi there. I am probably doing something really stupid here, but I am > having difficulty getting my Fox application to exit cleanly. I have > written it as a new class "viewer"; my top level code looks like this; > > // Make application > FXApp application("GLTest","FoxTest"); > > // Open the display > application.init(argc,argv); > > // Make window > new viewer(&application,meshDescription, runTime); > > // Create the application''s windows > application.create();...
2009 Jun 23
9
Learning FXRuby please help!
...hearButton.connect(SEL_COMMAND) do |sender,sel, data| yesWindow.create yesWindow.show puts "pushed hear button" puts "window shown?" + yesWindow.shown?.to_s end end def create super show(PLACEMENT_SCREEN) end end if __FILE__ == $0 FXApp.new do |app| Lookup.new(app) app.create app.run end end
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 Oct 27
2
Using BUTTON_TOOLBAR
...ED|LAYOUT_FILL_X) new_button = FXButton.new(tool_bar, "New File", :opts => BUTTON_TOOLBAR) open_button = FXButton.new(tool_bar, "Open File", :opts => BUTTON_TOOLBAR) end def create super show(PLACEMENT_SCREEN) end end if __FILE__ == $0 FXApp.new do |app| MainWindow.new(app) app.create app.run end end Doesn''t work on Vista? I''m doing something wrong?
2008 Jan 21
1
FXSplashWindow
I saw Jeroen''s suggestion on how to use FXSplashWindow on the foxgui-users list and thought I''d try it. My attempt was as follows: require ''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...
2007 Jul 28
1
Fxruby 1.6.11 installation error
...ration /usr/lib/ruby/1.8/i686-linux/intern.h:207: error: invalid type in declaration before '';'' token In file included from include/FXRuby.h:825, from include/FXRbCommon.h:93, from ui_wrap.cpp:584: include/inlinestubs.h: In function ''void FXApp_init(FX::FXApp*, VALUE, bool)'': include/inlinestubs.h:20: warning: deprecated conversion from string constant to ''char*'' make: *** [ui_wrap.o] Error 1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.11 for inspection. Results logged to /usr/lib...
2005 Feb 18
2
Fixed column widths in FXTable?
...ize(50, 3) (0...50).each do |r| table.setItemText(r, 0, "#{r},0") table.setItemText(r, 1, "#{r},1") table.setItemText(r, 2, "#{r},2") end end def create super show(PLACEMENT_SCREEN) end end def runme application = FXApp.new("MyTest", "FoxTest") TestWindow.new(application) application.create application.run end runme ------------------------------------------------------------------------- -- David Peoples davidp@touringcyclist.com The Touring Cyclist http://www.touringcyclist.co...
2008 Feb 28
5
FXColorDialog slow UI update
Hi Lyle, I have noticed a very small problem with the FXColorDialog class: when changing the color with the color wheel, it takes quite a long time (until 4 seconds, sometimes less) for the other panels of the dialog to synchronize. The opposite is also true: when changing the color with the sliders, it may take sometimes until 4 seconds for the color wheel to reflect the change.
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) }
2009 Feb 17
2
install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
...by install.rb setup followed by ruby install.rb install > > but I got this installation error: > > > In file included from include/FXRuby.h:825, > from include/FXRbCommon.h:93, > from ui_wrap.cpp:584: > include/inlinestubs.h: In function `void FXApp_init(FX::FXApp*, VALUE, > bool)'': > include/inlinestubs.h:20: error: `RARRAY_LEN'' was not declared in this > scope > ui_wrap.cpp: In function `void > FXFileSelector_setPatternList(FX::FXFileSelector*, VALUE)'': > ui_wrap.cpp:1016: error: `RARRAY_LEN'&...
2005 Feb 18
5
FXTable segfaults after multiple setTableSize calls
...l fails def fillTable2 @table.setTableSize(0, 1) (0...TABLE_SIZE).each do |r| @table.insertRows(r) @table.setItemText(r, 0, "#{r}") end @table.setFocus end def create super show(PLACEMENT_SCREEN) end end def runme application = FXApp.new("MyTest", "FoxTest") TestWindow.new(application) application.create application.run end runme ------------------------------------------------------------------------- -- David Peoples davidp@touringcyclist.com The Touring Cyclist http://www.touringcyclist.com...
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
...ain 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_FILL_X|LAYOUT_FILL_Y) table.visibleRows = 3 table.visibleColumns = 3 table....
2006 Apr 10
1
Display an arrow, or transparent image colors
...TextField, (2) the arrow, pointing from to the right, (3) a FXDial. I figured I can display the Arrow using a .png image containing a red arrow on transparent background, loading that image using FXPNGIcon, and display it in FXImageFrame. Example code: require "fox14" include Fox app = FXApp.new window = FXMainWindow.new(app, "Demo") window.place(PLACEMENT_SCREEN) hframe = FXHorizontalFrame.new(window) file_display = FXTextField.new(hframe, 40, nil, 0, LAYOUT_CENTER_Y) file_display.text = "SoundFile.wav" arrow_image = File.open("ArrowShortRightRedT.png"...
2005 Mar 23
2
FXListBox size behavior?
...St. Charles Rock Road, Bridgeton, MO 63044 tel: 314-739-4648 fax: 314-739-4972 ----------------------------------------------------- #!/usr/bin/env ruby # tested using FXRuby 1.2.5 and Ruby 1.8.2 (One-click installer # on Windows XP) require ''fox12'' include Fox application = FXApp.new("listboxtest", "FoxTest") main = FXMainWindow.new(application, "FXListBox test", nil, nil, DECOR_ALL, 0, 0, 400, 200) myListBox = FXListBox.new(main) myListBox.appendItem("a very long example") myListBox.appendItem("short") myListBox.appendIte...
2005 Dec 01
1
Can''t add text to FXCanvas
..."#{fd.face}, #{fd.size},#{fd.weight}," print "#{fd.slant}, #{fd.setwidth},#{fd.encoding}," print "#{fd.flags}\n\n" STDOUT.flush end def create super show(PLACEMENT_SCREEN) end end if __FILE__ == $0 # Construct an application application = FXApp.new("Button", "FoxTest") # Construct the main window PlotterWindow.new(application) # Create the application application.create # Run it application.run end -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipe...
2005 Aug 22
3
FXRuby 1.4.2 Now Available
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, FXRuby version 1.4.2 is now available for download from this page: http://rubyforge.org/frs/?group_id=300&release_id=2738 Since this is the second release in this series (i.e. those compatible with FOX 1.4), it should still be considered unstable. Please report any problems either to the mailing list, or even better, log them in the