Displaying 11 results from an estimated 11 matches for "evt_idl".
Did you mean:
evt_idle
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%
...nd:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1124] trunk/wxruby2/samples/bigdemo/wxGauge.rbw: Use Wx::Timer instead of evt_idle to drive Gauge sample, to avoid 100%</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1124</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-07-20 14:15:11 -0400...
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
2003 Nov 10
5
picture organizer -- need a bit of help
...xruby on mingw, I''m now using the precompiled msvc lib.
3. I''ve noticed, that wxGenericDirCtrl is not ported yet, however it can
be used eg. in IDE''s very well. (I still miss some features in the
original version, eg to set the root directory...)
4. I tried to use evt_idle to process creating thumbnails in the
background. But I don''t know how to shut up this process, and second,
I''ve noticed, that this codeblock is not called, when it should.
After loading all the thumbnails, see the dummy counter in my prog...
So how to correctly load...
2007 Jun 26
0
[1075] trunk/wxruby2/lib/wx/classes/evthandler.rb: Send IconizeEvent to EvtHandlers
...ntType[''evt_iconize'', 0,
</span><span class="cx"> Wx::EVT_ICONIZE,
</span><del>- Wx::Event],
</del><ins>+ Wx::IconizeEvent],
</ins><span class="cx"> EventType[''evt_idle'', 0,
</span><span class="cx"> Wx::EVT_IDLE,
</span><span class="cx"> Wx::IdleEvent],
</span></span></pre>
</div>
</div>
</body>
</html>
2008 May 14
0
[ wxruby-Patches-20130 ] Event handling performance issues
...tests I could get a 40% increase in the number of events generated per second.
A little background history:
As I had previously worked with wxPython, I thought that sometimes wxRuby was not responding as fast as it did in wxPython, specially on events that keep being generated like EVT_MOTION and EVT_IDLE.
As a proof of that I wrote a small benchmark script (ruby version attached) using both wxPython and wxRuby. It was not my surprise that on my machine I had wxPython with an average of 97033 events/second and wxRuby with 39435 events/second. The script does not intend to have scientific rigor but...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...ALUE evt_kill_focus(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_KILL_FOCUS);
-}
-
-static VALUE evt_close(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_CLOSE_WINDOW);
-}
-
-static VALUE evt_idle(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_IDLE);
-}
-
-static VALUE evt_show(int argc, VALUE *argv, VALUE self)
-{
- return internal_evt_no_parameters(argc, argv, self, wxEVT_SHOW);
-}
-
-static VALUE evt_window_create(int argc, VALUE...
2007 Jun 06
0
[1054] trunk/wxruby2: Add missing EraseEvent and mapping for EVT_ERASE_BACKGROUND, fix unknown
...mp;nbsp    2007-06-06 21:02:18 UTC (rev 1054)
</span><span class="lines">@@ -46,6 +46,7 @@
</span><span class="cx"> Wx::EVT_COMMAND_TEXT_URL => Wx::TextUrlEvent,
</span><span class="cx"> Wx::EVT_IDLE => Wx::IdleEvent,
</span><span class="cx"> Wx::EVT_PAINT => Wx::PaintEvent,
</span><ins>+ Wx::EVT_ERASE_BACKGROUND => Wx::EraseEvent,
</ins><span class="cx"> Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent,
</span><span...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...Wx::EVT_COMMAND_TOOL_RCLICKED => Wx::CommandEvent,
- Wx::EVT_COMMAND_TOOL_ENTER => Wx::CommandEvent,
- Wx::EVT_COMMAND_SPINCTRL_UPDATED => Wx::CommandEvent,
- Wx::EVT_COMMAND_COMBOBOX_SELECTED => Wx::CommandEvent,
- Wx::EVT_COMMAND_TEXT_URL => Wx::TextUrlEvent,
- Wx::EVT_IDLE => Wx::IdleEvent,
- Wx::EVT_PAINT => Wx::PaintEvent,
- Wx::EVT_ERASE_BACKGROUND => Wx::EraseEvent,
- Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent,
- Wx::EVT_SIZE => Wx::SizeEvent,
- Wx::EVT_SIZING => Wx::SizeEvent,
- Wx::EVT_MOVE => Wx::MoveEvent,
- Wx::EVT_MOVI...
2004 Aug 01
2
nothing happens unless I move the mouse
Hi,
I tried to think of a good subject, but that was the best I could come
up with. Here is my problem (pretty much same as before).
I have a program I''ve written, and I want to write a wxRuby front end
for it. There are hooks in the program that call methods in the
wxRuby part of things, however, nothing happens in the actual program
unless I''m triggering events in the
2011 Oct 06
5
WxRuby refresh from a long running function
Hi All,
This is my first post and I am a complete (well
almost complete) noob at WxRuby. I have
programmed in Ruby for a while, but now I am
trying my hand at a GUI base program running on
Windows. There is quite a bit of serial
communication between the app and a external
device. The problem I am facing is a function call
that takes a long time to complete before
returning to WxRuby.
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...Wx::EVT_COMMAND_TOOL_RCLICKED => Wx::CommandEvent,
+ Wx::EVT_COMMAND_TOOL_ENTER => Wx::CommandEvent,
+ Wx::EVT_COMMAND_SPINCTRL_UPDATED => Wx::CommandEvent,
+ Wx::EVT_COMMAND_COMBOBOX_SELECTED => Wx::CommandEvent,
+ Wx::EVT_COMMAND_TEXT_URL => Wx::TextUrlEvent,
+ Wx::EVT_IDLE => Wx::IdleEvent,
+ Wx::EVT_PAINT => Wx::PaintEvent,
+ Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent,
+ Wx::EVT_SIZE => Wx::SizeEvent,
+ Wx::EVT_SIZING => Wx::SizeEvent,
+ Wx::EVT_MOVE => Wx::MoveEvent,
+ Wx::EVT_MOVING => Wx::MoveEvent,
+ Wx::EVT_TIMER => Wx:...