Displaying 20 results from an estimated 1100 matches similar to: "API doc update coming?"
2007 Feb 19
2
Sizer question
First, Thank you, thank you, thank you for those who put wxRuby
together. I''m thrilled to be able to write GUI code in Ruby!
I''m hitting some confusion about how Sizers work. I''ve read the
tutorials and the section in the wxWidgets book but I still can''t
seem to figure this out.
Here''s an example of my code:
parent = Wx::Panel.new(frame, -1,
2004 May 13
2
A Sizer Tutorial
Hi
I''ve added a very basic introduction to using the BoxSizer class for
layout in WxRuby to the wiki. Corrections, comments welcome.
http://wxruby.rubyforge.org/wiki/wiki.pl?Using_Sizers_For_Layout
alex
2007 Oct 17
1
what''s a ListCtrlCompare ?
Hello all,
The doc for Wx::ListCtrl#sort_items says the method takes
a ListCtrlCompare. I''ve searched high and low, and I can''t
find any description of such an object.
Is there sample code somewhere in which an LC_REPORT style
ListCtrl offers sorting by column? That''s really all I''m
trying to do, and if I could see it done I''m sure it would
all make
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
I have a problem getting scroll bars to become active. Scrollbars
appear but do not actually scroll. The problem I am trying to
solve is to list a large number of key/value pairs. I looked
to use PropertyGrid but did not find it in wxruby 2.0.1. I''m
really stuck and would appreciate any help.
Thanks,
Dave
Details:
I am starting with an .xrc file containing:
...
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys,
I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl
will not resize horizontally no matter what I''m doing. I''ve attached a
sample code below. Any help will be greatly appreciated, as I really
like wxRuby :)
I''ve also tried to copy from the example from listtest.rbw, but that
also doesn''t seem to work.
Another thing
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all,
Ruby 1.8.1
Solaris 9
wxwindows 2.4.2 (package from blastwave.org)
wxruby 0.3.0
I''m having trouble getting this sucker to build on my Solaris box.
Here''s how I''m building:
ruby extconf.rb --with-xrc-dir=/opt/csw
--with-xrc-include=/opt/csw/lib/wx
The include directive I added because the setup.h file is there (for
whatever reason). And yes, /opt/csw/bin and
2004 Jun 19
4
FlexGridSizer question
=begin
I am trying to understand how FlexGridSizer works and I have written a small
test application using the latest wxRuby 0.4.0 on Win XP (Home).
I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button.
I have tried all combinations of ALIGN flags, but I either got the text sticking
far too close to the left edge of
2004 Aug 05
2
libraries needed to distribute app
Hi
I''m making an installer for my WxRuby app, using exerb. I''ve included
wxruby.so in the package, and it seems to work fine on my computer, but
are there any other dlls or whatever I''m likely to need, for example for
WxWidgets itself?
Cheers
alex
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and
"etc/threaded.rb" to build my first wxApp.
I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to
"Wx::FlexGridSizer").
I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time
of writing it''s growing only vertically.
And also how to get
2007 Jan 22
4
Adding sizers to other sizers doesn''t work
Hello all,
Running this on an Intel Mac
OSX 10.4.8
ruby 1.8.4 (2005-12-24) [i686-darwin]
wxruby2-preview (0.0.37)
using zshell
I''m having a heck of a time setting up a GUI with a differing number of
widgets per row, resulting in a differing number or widgets per column.
At first I tried to simply do something like the following:
class CharacterInfoPanel < Wx::Panel
def
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:
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
2009 Mar 31
15
Error: undefined method ''calc_min'' for #<Wx::IdleEvent>
Hi,
I occasionally had the following error when application in idle state.
Error: undefined method ''calc_min'' for #<Wx::IdleEvent:0xb115e44>
OS: WXMSW
Ruby Version: 1.8.6
wxRuby 2.0.0
Backtrace:
(eval):154:in `calc_min''
(eval):154:in `layout''
(eval):154:in `process_event''
(eval):154:in `on_run''
(eval):154:in
2009 Apr 02
1
Controlling vertical position
First, I want to thank everyone here who''s been helping me learn wxRuby.
The biggest problem I''m having is getting the layout of a screen right.
Right now, I have a dialog with several controls on it. With one
exception, it looks good. I''m using wxFormBuilder and Xrcise to do the
generation. I''m using nested box sizers to try to get things into the
right
2005 Jul 30
7
Can''t compile the cvs-tree
Hi folks,
Let me start off by saying I''ve just been following wxruby development
for two or three days now and have read up on alot on what has been
going on. I must say I''m impressed and happy about all the things being
developed and created by you guys! You got me all excited and I know I''m
not the only one. If I have an opportunity to spend more time
investigating
2004 Apr 20
4
wxRuby 0.3.0 has been released!
wxRuby 0.3.0 has been released and is now available for download from
RubyForge at:
http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X Panther and MS Windows.
Hopefully, within a couple weeks I will release RubyGems for the source, and
RubyGem binaries for Mac, Windows, and Linux.
Please report any bugs or feature requests here:
2007 Nov 09
6
Wx::Notebook tabs, bug reports on...
Thank you Alex for the answer to my previous question --
it was exactly what I was looking for!
Moving on, I have some bugs to report:
I''m using the Wx::Notebook class and it looks to me
like Wx::NB_LEFT, Wx::NB_RIGHT, and Wx::NB_BOTTOM are
defined incorrectly. To get my tabs to appear on the
bottom, for example, I find I have to use Wx::NB_LEFT.
Same symptom in
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users.
This is an addition which implement wrapper for
overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was
impossible to make it correctly without ugly hack to wxpp.rb, but i`m
hope it does not broke it.
Please look at attachment for a patch for htmlwindow.t and wxpp.rb and
additional file htmllinkinfo.t (need to be added to $objs array in
extconf.rb).
Sample
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
I have created a very simple DialogBlocks project that
consists of a very simple wxWizard. I have exported the
project to XRC and am trying to get XRCise to process it.
XRCise produces the message "Cannot create wrapper for
subclass of wxWizard".
Is this a symptom of the XPath parsing in Ruby 1.8.6 bug?
Or am I doing something wrong?
My env:
ruby 1.8.6 (2007-03-13 patchlevel 0)