Questions tagged [wxruby]

wxRuby is Ruby version of wxWidget which is cross-platform GUI framework.

wxRuby is Ruby version of wxWidget which is cross-platform GUI framework.

40 questions
8
votes
4 answers

Ruby GUI (non-complex layouts)

I've done quite a bit of research on Ruby GUI design, and it appears to be the one area where Ruby tends to be behind the curve. I've explored the options of MonkeyBars, wxRuby, fxRuby, Shoes, etc. and was just wanted to get some input from the…
Ruby Novice
  • 101
  • 5
6
votes
1 answer

How to use AddSubclassFactory from wxPython?

I cant find any examples online on how to use this method. I think that It may be something that I will use. Can someone provide me an example on how to use this method? http://wxpython.org/docs/api/wx.xrc.XmlResource-class.html
user1513192
  • 1,123
  • 4
  • 17
  • 29
4
votes
2 answers

What resources exist for WxRuby: documentation, tutorials, samples?

I found the RubyForge documentation, which is a little tricky to navigate. There's a basic tutorial on the Ruby On Windows blog. But I've already moved on from that. What other WxRuby resources have you found useful? Or, if not WxRuby specifically,…
Mike Woodhouse
  • 51,832
  • 12
  • 88
  • 127
2
votes
1 answer

Problem after installing wxruby, no suitable image found, on Mac OS 10.6 & 10.7 & Red-Hat

I am trying to install wxruby. I've tried gem install wxruby, gem install wxruby-19-2.0.0 downloading the wxruby-2.0.1-universal-darwin-9.gem. I tried the arch -i386 ruby change and got an error on arch of unsupported architecture (on Snow Leopard…
jjwright55
  • 21
  • 2
2
votes
2 answers

Problem using wxRuby

I am trying to create my first GUI using wxRuby. I installed wxRuby (using gem install wxruby-ruby19) and, it seemed to be installed alright. I copied some code directly from the wxRuby site. Here is the code I used: test.rb require "wx" include…
user727403
  • 1,967
  • 3
  • 13
  • 14
2
votes
1 answer

How do I restore a windows size and position in a wxRuby app?

Does anyone know of any sample code for restoring a window's position and size in wxRuby?
Sam Saffron
  • 128,308
  • 78
  • 326
  • 506
2
votes
2 answers

How to set a minimum size for a Window in wxRuby

I'm doing a simple GUI using wxRuby. I have just only read the tutorials and FAQ on the official site of the gem, but there are just a few examples. I want to know if there's a way (i'm sure there is a way but i don't know how to implement it) to…
flyer88
  • 1,073
  • 3
  • 15
  • 33
1
vote
1 answer

Create a ruby executable with wxruby for linux

I want distribute a application build with ruby and wxruby, but i cant generate one executable, try with ocra , AllInOneRuby but Windows support only and try with rubyscript2exe, but have much errors and doesnt run. [edit] With rubyscript2exe first…
richie-torres
  • 746
  • 1
  • 8
  • 29
1
vote
1 answer

" wrong number of arguments" error in frame class initialization in wxRuby

I am trying to find my bearings using wxRuby, and am using this, perhaps outdated, tutorial with ruby 1.9.2p180 (2011-02-18) [i386-mingw32] This: class MinimalApp < App def on_init Frame.new(nil, -1, "GUI Mockup").show() end end works:…
Dmitri
  • 2,658
  • 2
  • 25
  • 41
1
vote
2 answers

How to get rid of row labels?

What's the best way to get rid of row_labels? My program should work with CSV files, and I need only col_labels. I'm going to make this column's width 0px. But is it the best possible solution?
Nakilon
  • 34,866
  • 14
  • 107
  • 142
1
vote
1 answer

Is it possible to use RMagick to draw overlays on to other application windows?

I am building a desktop app that will put a simple graphical HUD on to other application windows. So basically I need for my app to be able to access another app as the parent, and then build out the HUD on top of it. Is this possible with RMagick? …
Jeremy Smith
  • 14,727
  • 19
  • 67
  • 114
1
vote
2 answers

StaticText / StaticBitmap on Button blocking events

So I have a simple setup here where I make a button, place a bitmap and some text on it, and then hook up an event handler. @scanButton = Wx::Button.new(self, -1, '', @@SCAN_BUTTON_POS, :size => @@SCAN_BUTTON_SIZE) @scanBitmap =…
James
  • 5,355
  • 2
  • 18
  • 30
1
vote
1 answer

Does wxRuby run with Ruby 1.9.2

I am investigating cross-platform GUI toolkits with Ruby bindings. wxRuby appears to be a pretty good one, but I am wondering if it has bindings for Ruby 1.9.2.
Paul Nathan
  • 39,638
  • 28
  • 112
  • 212
1
vote
1 answer

Ruby 1.9 compatible plotting / graphic library?

I feel like I have a simple desire that no one can satisfy: I want to be able to graph a set of points, and I am using Ruby 1.9.2. I would like to use Gruff or Scruffy, since these seem to be the easiest to use. However, they both rely on rmagick,…
Paul Hoffer
  • 12,606
  • 6
  • 28
  • 37
1
vote
0 answers

Inheritance issue: ArgumentError when using wxRuby detach method

I have the following function that is meant to close a panel: def close_active_panel if (@active_panel and @active_panel.class <= Wx::Window) @sizer.detach(@active_panel) @sizer.remove(0) # 0 is index of first and only item, the active…
sschilli
  • 2,021
  • 1
  • 13
  • 33
1
2 3