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
0
votes
2 answers

"gem install wxruby" but require 'wxruby' won't work

I did gem install wxruby on Win 7 and in Ruby 1.8.6 require 'rubygems' require 'wxruby' but it will say c:/ruby1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- wxruby (LoadError) from…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
2 answers

Is it possible to create native graphical user interfaces in Ruby?

I am considering using Ruby for a project, but I'm a complete beginner, so don't know what is, or is not, possible with Ruby 2.0. I have looked at wxRuby, but it hasn't been updated since 2009, so I take it that means it is not compatible with RUby…
Parham Doustdar
  • 2,019
  • 3
  • 22
  • 41
0
votes
1 answer

Ruby wxRuby GUI XRC to rb error

Cannot create wrapper for class without 'subclass' attribute It outputs as blank file. My command is xrcise -o Button.rb Button.xrc I use DialogBlock designer.
Masked Man
  • 522
  • 1
  • 6
  • 21
0
votes
1 answer

Is there anyway to enable MultiSelect in the StyledTextCtrl

I've noticed that the StyledTextControl (Scintilla basically) in wxWidgets has a great feature that allows multi-selections of text, just like TextMate. However wxRuby doesn't seem to have the function calls to support that feature. I'm wonder if…
Matthew Stopa
  • 3,793
  • 6
  • 42
  • 51
0
votes
1 answer

wxRuby Error : undefined method `register_hot_key'

I am trying to register a global hotkey using wxruby on Windows 7. require 'wx' frame = Wx::Frame.new frame.register_hot_key(100, Wx::MOD_ALT, Wx::K_F1) But I obtain this error message: NoMethodError: undefined method register_hot_key for…
Vasia Pupkin
  • 223
  • 2
  • 11
0
votes
2 answers

wxWidgets (wxRuby) with Ruby 2.0

I'm looking for an Win32 wxRuby gem for Ruby 2.0, does someone know where to find it? I didn't have success trying to build it and it seems the project is dead.
Fred
  • 23
  • 6
0
votes
1 answer

Setting filepaths inside your .rb file when converted into an exe with ocra

I've had a lot of trouble getting one my wxruby scripts to use an image file I included in the exe with ocra. If I didn't have the original image file in the same directory as the exe, the exe wouldn't find the image. shape =…
Lifeweaver
  • 986
  • 8
  • 29
0
votes
1 answer

Display multiple instances of a shaped window/image on desktop?

I'm trying to display an image multiple times on the desktop in different positions but I'm not sure how to go about it. Right now I'm trying out Wxruby but I'm wondering if there is another way to do it that I'm missing. So far I'm able to display…
Lifeweaver
  • 986
  • 8
  • 29
0
votes
0 answers

column title of wxListCtrl loaded from XRC file - wxRuby

I have problem with loading column title for wxListCtrl which are defined in xrc file. According to XRC file format description (http://docs.wxwidgets.org/trunk/overview_xrcformat...) it shall be possible to define column names for wxLC_REPORT style…
myszon
  • 86
  • 5
0
votes
1 answer

DC Flickering, wxPython

I am using the class below for adding rubberbands. However, everytime that I create the rubberband(left click), there is a flicker/flash. I do not know why this is happening. Also, I am putting the rubberband in a ScrolledWindow. import wx class…
user1513192
  • 1,123
  • 4
  • 17
  • 29
1 2
3