search for: rwa000

Displaying 9 results from an estimated 9 matches for "rwa000".

Did you mean: rw2000
2007 Dec 28
4
wxSizerItem show() method
It appears from the wx 2.8.7 documentation that a wxSizerItem has a show() method. But when I try to invoke it through wxruby, I get: tasks.rb:56:in `do_btn3'': undefined method `show'' for #<SWIG::TYPE_p_wxSizerItem:0xb5eedf44> (NoMethodError) Is this just something that hasn''t been added because people don''t manipulate wxSizerItems much, or is it
2007 Dec 28
4
static box sizing problems
Hi, I tried this one over on the main wx-users list as well, but thought I would try it here since I am using wxRuby: I am using wxWidgets 2.8.7 on a linux box using the GTK build. I have pared down my issue to the simplest case: I am trying to use a horizontal BoxSizer to split a frame into two sections: a left and right side. I want the left side to stretch proportionally and I want the
2008 Jan 04
2
problem with Menu.append_check_item()
Menu.append_check_item(), like Menu.append(), is supposed to return a reference to the created menu item. Here is a test code which seems to show that this behavior works for append(), but fails for append_check_item(). This is the output I get: % ruby test-menu.rb #<Wx::MenuItem:0xb74c036c> nil Am I missing something or is this a bug? Both menu items are created and work as expected. I
2007 Dec 27
0
build problems, part II
This is a follow-up from a recent email where I described problems in the rakefile system. I got the library to build, but it has problems with unresolved symbols. Here is the list of symbols that are unresolved from wx: undefined symbol: _ZN12wxStringBase8InitWithEPKcjj (/home/rwa/linux-packages/ruby-1.8.6 /lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so) undefined symbol: _ZNK8wxString3CmpEPKc
2007 Dec 28
2
controls within a wxTreeCtrl
What I''d like to be able to do is use a wxTreeCtrl to manage a tree layout of not only text, but several buttons which would line up adjacent to the text in the tree items. I''ve googled around a bit on this and it doesn''t seem straightforward, if it is possible at all. Can anyone provide any pointers for attempting this? In a simple ASCI schematic, it would be like
2007 Dec 28
3
more problems with 1.9.2
The files: wx/accessors.rb wx/keyword_ctors.rb wx/keyword_defs.rb do not exist in the tarball: % pwd /home/rwa/Distributions/test/wxruby-1.9.2 % find . -name accessors.rb % but are required in wx.rb: % tail wx.rb Dir.glob(class_files) do | class_file | require ''wx/classes/'' + class_file[/\w+\.rb$/] end # Load in syntax sweetner require ''wx/accessors''
2008 Jan 04
2
use of Marshal with wxruby classes
Is it possible to use Marshal with wxruby classes to serialize an application''s state? I tried a minimal example of simply serializing a minimal frame object, and I get the error "no marshal_dump is defined for class MinimalFrame". I don''t fully understand this because I also tried another minimal example of dumping a class which did not defined a marshal_dump, and it
2007 Dec 27
3
build problems
I am running on a redhat linux box. I could not use the binary package because I do not have libXinerama, and installing it is a nightmare of dependencies (and I am not root, so I can''t use the package manager). So I am trying to install from source. I installed wxGTK-2.8.7. I downloaded wxruby-1.9.2, and issued "rake", and got: rake aborted! WIN32 has been removed, use
2007 Dec 27
4
build problems, part III, and runtime problems, part I
After decoding the unresolved symbols from wxruby2.so using c++filt, and comparing with the symbols provided by wxGTK, it became clear that wxGTK was using wchar_t whereas wxruby2.so was using char. So I rebuilt wxGTK, turning off unicode. That worked. No more unresolved symbols. What gives? Should the wxruby code have been built using wchar_t, and if so, how? However, now I get the