similar to: Bug in TextCtrl constructor

Displaying 20 results from an estimated 1000 matches similar to: "Bug in TextCtrl constructor"

2007 Mar 29
7
object-oriented GUI design and event handling
I''m trying to setup a fairly simple GUI with Ruby to perform some SQL queries. There are a few drop-down boxes where users can select different options and then one button that when clicked should get the text from each drop-down in order to perform the query. Once it gets the result it should display it to a text control. The problem is I am not sure how to actually reference each
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 Jun 17
2
Wx::TextCtrl and wxMSW
Hey Alex, Found a solution to the problem that was occuring with wxMSW and the Wx::TextCtrl, have yet to verify that this will work in linux, but my little trick to the matter, was simple, thanks to the things that are provided with both Wx::TextCtrl, and Wx::Window classes. I''m providing this bit of information for thoes who may have trouble with dealing with Wx::TextCtrl, _AND_ have
2007 Aug 24
2
SURVEY: wxRuby API style
Hi As we''re getting closer to a stable release of wxRuby, I''d like to get your views on the API style. There''s a survey here: http://rubyforge.org/survey/survey.php?group_id=35&survey_id=66 I''d like to know if you''d like to see two wxSugar syntax features become part of core, standard wxRuby version 2.0. These are: 1) Allow ruby-style
2007 Sep 03
1
API survey results & update
Thanks to everyone who voted in the API style survey. We had 10 votes altogether - we''re not electing the prime minister, after all - but it was decisively a yes. 90% (9/10) supported adding keyword constructors, and 77% (7/9) ruby-style accessors. The changes are summarised at the bottom of the email. We hope to have a 1.9.1 release incorporating these in the next week or two.
2007 Jan 06
0
[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Sep 07
2
A little bit of sugar
Hi Do a search on ''wxruby'' and you''ll see that people''s main gripes are 1) stability 2) development progress 3) documentation and 4) syntax. We''re making great progress on 1-3 so thought it seemed like a good time to start looking at 4). So here''s announcing a first release of WxSugar. It can be downloaded via gems (gem install wx_sugar)
2006 Jun 17
4
Simple tutorial weirdness
Sorry - working on a simple tutorial but something is throwing me here. I''m supposed to get a Time.now() print to the page but it''s not working and I can''t figure out why. No errors are thrown my the page shows: Howdy, world! My name is Stuart Felenstein. This was verified at . So no time stamp showing. I went into IRB , did a Time.now() and it''s working
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,
2006 Sep 11
15
ruby method names
Hi Attached is a patch that adds aliases to the API for methods that look like attribute accessors. So a_frame.set_title(''The title'') # currently a_frame.title = ''The title'' # now an alternative textctrl.get_value # currently textctrl.value # now an alternative Also, C++ methods named ''IsXXX'' are now exposed in ruby with
2006 Dec 01
0
[768] trunk/wxruby2/doc/textile/checklistbox.txtl: Corrected constructor method signature
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
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/.
2007 Apr 18
5
Turning off spell checker in TextCtrl
Hi, I''m running WxRuby2 on Mac OS X. Something is spell checking the text that I put into it; words it doesn''t recognize get an annoying red line under them. How can I turn the spell checker off? Thanks, Paul
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
2006 Feb 19
1
TextCtrl width
What''s the best way to specify the width of a TextCtrl in characters instead of pixels? -- R. Mark Volkmann Partner, Object Computing, Inc.
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2007 Aug 11
2
TextCtrl.new
Salut alex, j''utilise ce bout de code pour faire apparaître mon texte dans ma fenêtre: @dou = TextCtrl.new(@s, -1, "", Point.new(10, 70), Size.new(410, 210), TE_RICH | TE_MULTILINE) @dou << "je vais à l''école" le problème c''est que l''encodage ne marche pas.Je ne peut pas mettre l''accentuation.J''ai essayer pas mal de
2008 Jun 02
1
Add TextCtrl to toolbar
Hi, How can I add a textctrl to a toolbar? I tried toolbar.add_control(TextCtrl.new(self, ID_ANY)), but that returns false and the control gets placed wherever. Thanks
2009 Aug 14
1
TextCtrl performance for large files
I''ve been trying to speed up my program, which uses a TextCtrl, for large files by getting rid of code using line numbers. However, it seems that just using the get_range method is slowing down my program for large files. I don''t know whether I''m doing something wrong or there''s a way to access the text without significant slowing in large files. If anyone
2005 Sep 19
1
Two strange behaviours with dovecot+postfix+squirrelmail
Hi all, About a week ago I was forced to migrate my main (production) email server from RH9 to Centos4.1. The installation has dovecot-0.99.11 + postfix-2.1.5 and >600 mbox accessed email accounts. Number 1. Some users accessing thru squirremail (installed in my webserver) can read their INBOX at /var/spool/mail directory but when trying to delete a message they receive the following error