similar to: Wx::Timer

Displaying 20 results from an estimated 20000 matches similar to: "Wx::Timer"

2008 Jan 19
5
No joy from Wx::App.dispatch, Wx::App.yield...
OK, back with another iteration of the same problem... I updated my game demo, but the Close button failed to respond when (and only when) there were too many objects onscreen. The drawing loop is probably lasting longer than my drawing timer interval. I was able to reproduce the problem in my (probably familiar by now) test script just by boosting the number of lines drawn per frame. After
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
2007 Jun 28
2
Keeping GUI responsive while processing data
To start I will say I have read through the read "Problem with threads" to try and work around this problem, but I do not think I understand what is happening enough to make use of the info I found there. My app is pretty basic and does some text processing on 2 files and uses WIN32OLE to take the data and put it an excel sheet. The processing is really fast, but loading up Excel
2008 Jan 16
2
Question about WxNotebook, threads, and GUI refreshing
I''m running into a problem I''ve had before with wxRuby where the GUI does not update while my App is processing some set of data. The fix for this I know is to put the data processing piece in a new thread and in the Wx::App code make a timer to pass the threads. This has always worked in the past, but now my problem is slightly more complex and I''m at a loss.
2007 Dec 30
4
Drawing thread not getting enough time from scheduler?
Need some assistance with animation again... When I run the drawing code in a separate thread, it''s slow as heck. I think it may be because the drawing thread isn''t getting enough time from the thread scheduler. I was able to reproduce the problem in my little sample program simply by increasing the number of lines it draws per update. I''m lucky to get one frame
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
2005 Jul 26
3
Wx::Html* widgets
Hello, I''m having problems using the widgets Wx::Http*, such as Wx::HtmlWindow, Wx::HtmlEasyPrinting, etc.. The error I got is "uninitialized constant Wx::HtmlWindow". The code is correct since I''m trying to execute samples in the html/ directory. All other samples work. I can''t even see that widgets doing require ''wxruby'';
2007 Jul 20
0
[1124] trunk/wxruby2/samples/bigdemo/wxGauge.rbw: Use Wx::Timer instead of evt_idle to drive Gauge sample, to avoid 100%
<!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 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the patches from teh last message are applied, to enable *INPUT etc typemaps. Roy - though the function works correctly when called from Ruby, it still causes a crash when called internally when clicking on a Wx::Grid cell. Saw your message on SWIG mailing list, hopefully someone there can help out. alex
2005 Nov 25
2
Wx::SystemSettings mark II
hi patches and files for Wx::SystemSettings, with get_font included in swig file and a sample that doesn''t segfault wxruby. CVS patches: RubyConstants.i, type_map.i CVS new: system_settings.rb (sample) SystemSettings.i (SWIG file) The sample should allow you to view the available information about system colours, fonts and metrics (eg cursor size, display size) in a Grid.
2007 Apr 29
8
wxruby unfriendly to other threads?
I''ve seen a few e-mails about multithreading with respect to wxruby but nothing recent. Unless I''m mistaken, and that may be, there still appear to be problems. The following code seems to hang my spawned thread in favor of the wxruby event loop: Thread.new do puts "in thread" loop do sleep 5 puts "looping" end end puts "main
2007 Jan 17
3
Fedora 6 -- can''t load wx
Hi, I''ve installed and used wxRuby on Win32, and am trying to install it on Linux for the first time. I''m running Fedora Core 6. Here is what I have installed, but as shown below, when I try to load wx, I''m told it cannot be loaded. I get the same error when trying to run some of the sample wxruby scripts. Sorry for the newbie question, but am I missing something
2007 Jul 20
8
Wx::StaticText
Salut alex. J''ai une question a propos de wx::statictext(wxruby2) est-il possible de mettre les accents pour la langue française?, car pour l''instant je ne peut pas mettre l''accentuation alors que ça marche bien avec "wxruby". merci Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 Dec 10
3
Popup Window
Hey! I would need a popup window like this (not necessarily associated to a taskbaricon): http://www.venraiker.com/wp-content/uploads/2006/03/libnotifyvx.png I should be possible to show such a window for a certain time, displaying a certain message. Is a similar thing possible with wx? Are there oder options? thx ck -- Posted via http://www.ruby-forum.com/.
2013 Feb 06
2
require 'wx' ruby 1.8 vs 1.9
Hi, i''m going to port my wxruby application from ruby 1.8 to 1.9.x. Everything went smoothly and i''ve got many advantage over the port. With ruby 1.9.x my app run blazingly fast on startup either on MacOSX and Linux while on Windows (xp, vista, win7) it takes longer (~20 sec. more). The problem is on "require ''wx''" instruction (you can test on an
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
2008 Jun 12
4
Background thread - entension code - switch contexts
Hi, I am using wxRuby 1.9.7 and Ruby 1.8.6. I have built an extension in C++ and used swig to load it into Ruby interpreter, which works great. The extension is an often long executing algorithm, and I''ve noticed that if I fork a new Ruby thread in button clicked event, and in this thread run the algorithm the application freezes for the time of execution. I have looked through the
2004 Aug 25
7
problem subclassing Wx::Menu
Hi folks I''m trying to make a class to make Wx::Menu easier for me to use and hide the constants and event-binding complexity. I''ve created a subclass of Wx::Menu, but whether I create my own append() method and call super(), or create a differently-named method and called append() from it, it seems to segfault. Sample attached, see line 20. Am I doing something stupid?
2007 Nov 07
1
Wx::FileDialog and common dialogs
The documentation for Wx::FileDialog is incorrectly generated: http://wxruby.rubyforge.org/doc/filedialog.html Every time the ''*'' (for the wildcard character in file filters) appears, the doc instead switches between boldface and normal. Also, it seems like the links under "See also" are broken. Feature request: Regarding all modal common dialogs (ColourDialog,
2006 Oct 20
1
include Wx in samples?
Alex Fenton wrote: > Just for reference, it should be Wx::PLATFORM now (from > swig/RubyConstants). If scripts are referring to RUBY_PLATFORM, they are > referring to Ruby''s constant in the main namespace (eg i686-mswin) not > our WXMSW. I find the const confusion one reason not to ''include Wx'' in > samples, but appreciate it''s a matter of