Displaying 8 results from an estimated 8 matches for "keyword_ctors".
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 synt...
2007 Oct 13
3
Newbie can''t get sample/etc/wizard.rb to work
Hello,
I''ve downloaded wxruby onto windows (ruby 1.8.6 (2007-03-13 patchlevel 0)
[i386-mswin32]).
All samples are working fine, except for wizard.rb, which gets:
C:/Program
Files/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i386-mswin32/lib/wx/keyword_ctors.rb:201:in
`initialize'': Error initializing #<Wx::Wizard:0x2f3fed8> (ArgumentError)
Sent parameters: [#<MyFrame:0x2f403b0>, -1, "The WxRuby Wizard",
#<Wx::Point: (-1, -1)>, #<Wx::Size: (-1, -1)>, 536877056]
Correct parameters are:
title (String)
bitmap (Wx...
2007 Sep 28
1
WxWizard Error
Hey All,
Looks like there''s a few bugs with the controls dealing with
Wx::Wizard. I''ve gone through it a bit, and seems like there''s some
errors beyond what I could fix. An example is:
# wxWizard A wizard dialog
Wx::define_keyword_ctors(''Wizard'') do
wx_ctor_params :title => ''''
wx_ctor_params :bitmap => Wx::NULL_BITMAP
wx_ctor_params :pos, :size
wx_ctor_params :style => Wx::DEFAULT_DIALOG_STYLE
end
After looking at the SWIG Generated Code, it looks like it generates the
Directo...
2010 Aug 23
4
Segmentation Fault
...#39;m running wxRuby on a
box running an up-to-date PCLinuxOS distro. I''ve stripped what I''ve
written down to the bare essentials, the fault occurs on the
Wx::RichTextCtrl.new(self) line in mwsnotes.rb.
The exact message I''m seeing is /usr/lib/ruby/site_ruby/1.8/wx
/keyword_ctors.rb:168: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i586-linux]
Thanks in advance.
---Michael
Attachments:
http://www.ruby-forum.com/attachment/4965/test.zip
--
Posted via http://www.ruby-forum.com/.
2008 Mar 18
14
Proposal for an improved API for Sizer (and ToolBar)
Hi all,
This is a proposal for supporting keyword arguments to Sizer#add
following the thread below :
http://rubyforge.org/pipermail/wxruby-development/2008-March/001244.html
After a deeper look at lib/wx/keyword_ctors.rb and
lib/wx/keyword_defs.rb, I understood the whole thing :-).
I just reused and modified slightly the method args_as_list.
The new Sizer#add_item combines the features of add and insert in
addition to the support of keyword arguments.
Let me know what do you think about this proposal as this ca...
2007 Dec 19
0
[ wxruby-Bugs-16436 ] Missing files after rake build
...: ppk (mend0za)
Assigned to: Nobody (None)
Summary: Missing files after rake build
Initial Comment:
System - Debian GNU/Linux 4.0r1 (etch), i386 and arm.
''rake called by default (without any task specified).
Files seems to be missed (in comparison with gem content):
wx/accessors.rb
wx/keyword_ctors.rb
wx/keyword_defs.rb a
wx/version.rb
(ruby libdir skipped, doesn''t matter)
$ ruby --version
ruby 1.8.5 (2006-08-25) [i486-linux]
$ wx-config --version
2.8.6
wxWidgets 2.8.6 configure options:
--with-gtk
--enable-monolithic
--enable-gtk2
--enable-unicode
--without-gnomeprint
--wit...
2007 Sep 29
0
[ wxruby-Bugs-14322 ] Multiple warnings, especially @__painting__
...rpc-darwin8.3.0/lib/wx/classes/clientdc.rb:8: warning: method redefined; discarding old initialize
.../ruby/gems/1.8/gems/wxruby-1.9.1-powerpc-darwin8.3.0/lib/wx/classes/paintdc.rb:7: warning: method redefined; discarding old initialize
.../ruby/gems/1.8/gems/wxruby-1.9.1-powerpc-darwin8.3.0/lib/wx/keyword_ctors.rb:214: warning: instance variable @param_flags not initialized
I''m using it on Mac OS X 10.4.10 with ruby 1.8.6 compiled with macports and wxRuby 1.9.1 installed with gems as binary gem.
Thanks for your help.
Aside this bugs I want to they thank you for your great work. I like wxRuby v...
2007 Nov 03
9
wxThread
Hey guys,
I''m working on the start of incorperating wxSocket into a library that
can be included with the Core, and a part of this, is to create a
wxThread class, which will basically just be a barebone copy over of
Ruby''s own Thread class. (This should also help when we get Ruby 2.0,
which hopefully will have Native Threads, as we should still be able to
get the base