Displaying 20 results from an estimated 1000 matches similar to: "Making a Text Control selected once user hits a button"
2011 Jan 04
2
Wxwidgets 2.9.1
- is released for a few monthes already. Dies anybody tried it with 64-bits mode (thus, cocoa) on mac with any wxruby?
Need a portable modern gui framework bad :) and one that works in mac@64.
Btw what happened to wxruby.org?
Yours,
Sergey
2010 Aug 23
4
Segmentation Fault
Once more, with feeling.
I''m trying to implement using xrc_replace so as to use a RichTextCtrl in
a form created by FormBuilder. The problem is that I can''t even create a
RichTextCtrl. When I try to, I get a segmentation fault.
I''ve attached the files that are causing this. I''m running wxRuby on a
box running an up-to-date PCLinuxOS distro. I''ve
2010 Jul 23
1
using listcontrol
hi, i a new to wxRuby, but have been able to create a frame/listcontrol and
fill the list with items.
What I do not understand is why the vertical scroll bar on the list does not
respond?
I have 15 items showing and 50 in the list. Do I need some event to
activatte it?
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
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:
...
2010 Mar 13
3
[BUG] Menus on Snow Leopard not working correctly
I posted the following bug at http://rubyforge.org/tracker/index.php?func=detail&aid=27962&group_id=35&atid=218.
Is anyone else dealing with this?
> In running the 2.0.1 samples under OS X 10.6.2, some menu items do not appear as they should.
>
> For example:
> * in the "minimal" sample, the "file" menu appears in the menu bar, but the individual items
2010 Mar 20
1
Tab key traversal
Below is my attempt at changing the focus from one text control to the
next control after a person presses the tab key. The wxTE_PROCESS_TAB
style property has been selected for each of the controls. What
corrections do I have to make? Thanks.
#!/usr/bin/env ruby
require ''rubygems''
require ''wx''
require ''tp1.rb''
class MainFrame < TPSC
2010 May 18
8
gem for snow leopard?
Does anybody plan to post binary rem for SL? Id''love to rely on its availability in the installation script... As wx included in installation package makes it huge...
Sergey Chernov
real.sergeych@gmail.com
2004 Dec 02
3
net ads join fails - "Preauthetication failed"
After a lot of different problems and variations of krb5.conf and
samba.conf files I am currently stuck with the following error trying to
join a domain
net ads join -U nfybw@UIB.NO 'Klienter\IT\MatNat\IFT\Samba
Servers\IT-gruppen'
nfybw@UIB.NO's password:
[2004/12/02 15:34:36, 0] libads/ldap.c:ads_add_machine_acct(1367)
ads_add_machine_acct: Host account for iftsmb100 already
2006 Dec 18
13
unit testing wxruby GUIs
paul.allton at uk.bnpparibas.com wrote:
> I''m a big fan of automated UI testing (i.e. driving the UI from some
robot API). I appreciate this
> is potentially a whole new project, but does wxwidgets provide a
method of clicking buttons,
> typing into components ... if so, would it be technically possible to
expose this in wxruby.
I like automated UI testing too, but
2004 Jun 11
9
Handling Events that don''t take an ID
Hey Kevin,
Am I correct in assuming that if I want a particular widget to respond to an
event which doesn''t take an ID as an argument (like evt_size or
evt_left_down), that I have to inherit a new widget and define the event
handler within the inherited class? Here''s a little contrived code example
to illustrate what I mean:
class MyCtrl < Wx::TextCtrl
def
2005 Jan 25
3
Plotting only masked part of data
Hello,
I have x and y data to plot (synthetic example):
x <- seq(0,4*pi,by=0.1)
y <- sin(x)
I then want to plot (x,y) in those points where abs(y) is smaller than
0.5. As a first approximation
plot(x[abs(y) < 0.5],y[abs(y) < 0.5])
is quite close - however I want to plot with lines, i.e. type="l", and
then I get solid lines connecting the endpoint of one
2009 Nov 19
5
speaking about mxn at #geomob
Fellow mapstractors,
I''m speaking about mapstraction tonight at a London neogeo event - #geomob
http://gmdlondon.ning.com/events/geomob-november
basically I''ll jus be explaining what mxn is, how ift can be used, and a
brief history of the project and trying to encourage more people to
contribute.
My slides are here:
http://www.slideshare.net/lokku/mapstraction-2537688
let me
2007 Sep 10
2
syntax II
Hi
Given the warm response to the syntax additions in 1.9.1 I''m considering
moving one or two more syntax extensions into core, and would like your
thoughts. Last ones, I promise. Realise we don''t want much more API
change now, but also we''ll probably also have to live with whatever we
settle on for 2.0 for a little while, so...
1) Setting up event handlers
In
2008 Jan 14
4
Focus on TextCtrl
Hello.
I have a problem with set focus on a TextCtrl in wxRuby.
I must do something like
Login TextCtrl and set focus on a next TextCtrl by clicking Tab key.
--
Posted via http://www.ruby-forum.com/.
2004 May 12
8
New tutorial added!
Hey guys,
It''s been awhile, but I''ve put up a new tutorial page on Wx::Frame. It''s
the first half of the tutorial on Frame, the rest will come a little later.
Let me know what you guys think. Any comments or criticisms are welcome.
Let me know what was good and what could have been better, so that future
tutorials will be able to incorporate those improvements.
2006 Aug 25
3
Patch to wxComboBox.rbw
This patch fixes the sample so it works correctly. You''ll need to
patches in the previous e-mail.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2009 Jan 29
4
Help understanding EVERYTHING
Team,
I am trying to learn a GUI for Ruby and I picked wxRuby.
The problem is that I am kind of slow learning this and I now feel
frustrated after trying for about at least 7 hours.
I am trying to design a simple Sudoku 9x9 grid to display numbers, 1 - 9,
using buttons.
I posted a question on Ruby forum ruby-talk and a gentleman, Alex Fenton,
answered my questions.
Alex gave me what appear to be
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb
1) Message box scrolls properly now
2) Blank lines are skipped when adding pizzas and ice cream
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi
I''m trying to follow the tutorial on xrcise at
http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise
But I keep getting the following error when I try to run the example;
tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for
#<CaseChangeFrame:0x2d610f8> (NoMethodError)
from tutorial.rb:28:in `new''
from
2003 Nov 25
1
Does wxRuby have event masks or something similar?
I''m trying to capture character events on a frame, using the following
piece of
code (adapted from samples/etc/test.rb):
def initialize(title)
super(nil, -1, title, Wx::Point.new(-1,-1), Wx::Size.new(530,590),
Wx::DEFAULT_FRAME_STYLE | Wx::FRAME_SHAPED)
evt_paint { onPaint }
evt_char { | evt |
puts "Got char evt: "+evt.to_s
if evt.get_key_code.chr =~