Displaying 20 results from an estimated 10000 matches similar to: "Wx::Grid Questions ..."
2004 Aug 19
28
Documents, Views and DocManagers
Hi,
Are there any effort in making wxDocument, wxView, etc types of classes
avaiable under wxRuby? For supporting SDI/MDI architecture.
Cheers,
Phuah Yee Keat
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the
TextCtrl field that is created when you start typing in a cell.
Also is there a way to get mouse events to work with a wxGrid, so far I
can''t get any of them to work. I had tried various combo''s of:
@grid.evt_left_down(){ |event|
puts "Left mouse is down"; }
using evt_left_down, evt_left_up,
2007 Jan 04
3
grid control example doesn''t work on osx.4
Hi,
I am trying to use wxruby2-preview (0.0.38) on my intel macbook
running os10.4.8. I am having a beast of a time running the examples
in the tutorials. The super basic frame example worked but the
simple grid tutorial bombs with the following message:
------
[WhiteGhost:~/tmp/wxStff] hjw$ ruby ./grid.rb
/usr/local/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.38-i686-
2005 Aug 17
7
Volunteer requested: Implement SplitterWindow
About a year ago (ouch!), Robert Carlin submitted a ported version of
the wxPython demo/sample. I hoped to include it in wxruby2, but it
relies on SplitterWindow, which isn''t in wxruby2 yet.
I tried to implement SplitterWindow myself, but got such strange results
that I''m thinking I did something wrong. Even though the generated C++
code specified a variable number of
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 Jul 12
28
Windows compilation problems
Last week I was struggling to get xrc built into wxRuby and finally got
it to compile. The problem I am now having is that the normal samples
are not working at all (have not even tried any xrc stuff yet). So to
test if it is a problem with xrc or my build process I tried compiling
wxRuby without XRC, this caused the same error to be printed out as the
failed XRC build.
The output (in both
2004 Dec 31
5
catch keystrokes
is it possible to intercept keystrokes using wxruby?
2004 Nov 22
1
Layout Issue ...
The following program represents the basic layout of my application. The
problem I have is that the panel, and thus, the grid does not resize
when the window width is expanded.
Also, I would like the entire grid to be displayed without the
horizontal scroll bar. How can I force this behavior?
Please tell me if I am going about this incorrectly. I am just getting
familar with wxRuby and any
2008 Jan 19
10
lose focus event?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I''m new to wxruby, and I haven''t found any answer with google: Is
there a way to capture a lose focus event on controls, such as a combo
box? All my experiments show events when changing the text, but not
when leaving the box.
I want to make a combobox that autocompletes if I press tab (or down
arrow or something), but if I
2004 Dec 09
6
Scrolling to the bottom of a Grid
Hi,
Thanks to the newly added event handlers for Wx::Grid in the 0.6.0
release, I can now provide a much slicker intreface to my "data widgets"
which heavily rely on that control.
However, I haven''t quite figured out how to programmatically scroll to
the last row of a populated grid (actually, the first empty row). So
say that I have a grid with 200 rows only 20 of which
2006 Apr 07
3
Pointer position on keypress event?
Hi.
Is there any straightforward way to tell pointer position (x, y)
upon keypress? In original wxWidgets, wxKeyEvent supports GetX()
and GetY() methods, but wxRuby''s KeyEvent object does not have
one. I also checked with event.methods and event.instance_variables.
Do I need to keep track of pointer position by evt_motion?
--
Taisuke Yamada <tyamadajp@spam.rakugaki.org>,
2010 Sep 09
1
Wx::Grid and motion events, bug?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
Doesn''t a Wx::Grid get motion events sent? This code demonstrates the
problem:
- --------------------------------------------------------------
#!/usr/bin/env ruby
#Encoding: UTF-8
require "wx"
class MyFrame < Wx::Frame
include Wx
def initialize(parent = nil)
super(parent, title: "Test", size:
2007 Aug 23
7
TaskBarIcon gives Typerror
Hi,
I''m working with wxruby since 2 days but next to this Wiki: http://wxruby.rubyforge.org/wiki/wiki.pl and this Doc: http://wxruby.rubyforge.org/doc/ I couldn''t find something usefull for it. Also del.icio.us has no intresting links. Do you know any good website or book about wxruby?
My problem at the moment is, I wanna test the TaskBarIcon on Gnome and so I did:
2004 Sep 24
7
wxRuby build problems
I''ve just tried to build wxRuby on a debian/unstable (i386) platform.
I went to rubyforge.org and downloaded wxruby-0.5-src.tar.gz.
<http://rubyforge.org/frs/download.php/1254/wxruby-0.5-src.tar.gz>
I have ruby 1.8.2 installed on my system. I needed to install the
debian package ruby1.8-dev in order to get mkmf.rb. That solved my
first problem. So then i ran "ruby
2007 Oct 03
9
WxRuby Newbie Application Hanging
I have a WxRuby application that takes a few inputs from the user and
uses that information to search through a large file for matches. The
application works very well, with one exception. If I click anywhere
in the frame while the application is searching through the long file,
the application hangs. Has anyone experienced anything similar to
this? Any suggestions on how I can fix this?
Thanks
2005 Feb 20
11
Suggestion for wxruby name change
We''ve had some discussion in the past about the wxruby vs wxruby-swig
name, and how they are a bit confusing. My big problem with
''wxruby-swig'' is that unless you know what ''swig'' is, it''s not a
terribly useful (or sexy) postfix. It''s like naming a car after it''s
manufacturing process - "the all new Acura
2007 May 28
8
sash position problem
Hi,
I''ve written a small app implementing SplitterWindow and have a problem
with specifying the sash position on Windows.
At the moment, I call split_vertically and pass it a positive integer for
position. This works as expected on FreeBSD and Linux (Ubuntu and
Debian), but seems to have no effect on Windows.
Is there something particular I need to be doing to get this to work on
2004 Nov 21
7
wxRuby 0.6.0 is released!
wxRuby 0.6.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.
Changes in this release include:
* Additional widget support in XRC (thanks to Marshall Elfstrand)
* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle
Technologies Inc)
* Addition of wxGrid event handlers (thanks
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
2006 Dec 14
5
wxruby2-preview Gauge and wx-sugar with SplitterWindow
First of all, just wanted to say big thanks for all the great work on
wxruby2 .. I''ve been a user of 0.6 for a long time and its proved very
useful over the years. It''s great to finally have a multi-platform, gem
installable ui toolkit that doesn''t suck!
Secondly, thanks also for wx-sugar. I was drowning in sizers and started
to write my own layout library ... but