Displaying 20 results from an estimated 36 matches for "eventtyp".
Did you mean:
eventtype
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...@@
</span><span class="cx"> # EvtHandler. This includes all Wx::Window subclasses and Wx::App.
</span><span class="cx">
</span><span class="cx"> class Wx::EvtHandler
</span><del>-
</del><ins>+ # Given a Wx EventType id (eg Wx::EVT_MENU), returns a WxRuby Event
+ # class which should be passed to event handler blocks. The actual
+ # EVT_XXX constants themselves are in the compiled library, defined in
+ # swig/classes/Event.i
</ins><span class="cx"> def self.event_class_for_type(id)
&...
2007 Jun 28
0
[1091] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add interim event type mappings for a few obscure oddities
...27 23:10:03 UTC (rev 1090)
+++ trunk/wxruby2/lib/wx/classes/evthandler.rb        2007-06-28 00:09:11 UTC (rev 1091)
</span><span class="lines">@@ -111,6 +111,9 @@
</span><span class="cx"> EventType[''evt_checklistbox'', 1,
</span><span class="cx"> Wx::EVT_COMMAND_CHECKLISTBOX_TOGGLED,
</span><span class="cx"> Wx::CommandEvent],
</span><ins>+ EventType[''evt_child_focus'', 0...
2008 Jul 07
3
subset() multiple arguments
This is what I would like to do and it works just fine. Is there a way to
shorten this code so I don't have to subset a subset of a subset?
d<-subset(subset(subset(subset(x, River.Mile<=202), River.Mile>3),
Lagrangian=="Yes"), EventType=="Regular")
Stephen
--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.
-K. Mul...
2005 Mar 10
2
NoMethodError in Event_type#create
I am new Ruby on Rails, so excuse me if my question seems pretty obvious.
I am trying to validate uniqueness of a filed:
class EventType < ActiveRecord::Base
belongs_to :sport
validates_uniqueness_of :event_type
end
When I run it, I get this error message:
Showing /event_type/new.rhtml where line #27 raised undefined method
`each'' for nil:NilClass
<select name="event_type[sport_id]">
27: <%...
2005 Jul 18
0
remove EventTypes.py
please remove tools/python/xen/xend/EventTypes.py in -testing tree, as
it is not in use.
regards,
aq
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Apr 05
1
"too large for hashing"
Hello,
I'm doing some analysis on a rather large data set. In this case,
some simple commands are failing. For example, this one:
> x$eventtype <- factor(x$eventtype)
Error in unique.default(x) : length 1093574297 is too large for hashing
...I think this is a bug, because "hashing" should not be required for the
"factor" function. Am I right? The whole column does not need to be hashed,
only the unique keys. Sure,...
2009 Dec 18
1
linear contrasts for trends in an anova
...across groups?
doi=data.frame(
Group=c(
rep(1, 5), rep(2, 5), rep(3, 5), rep(1, 5), rep(2, 5), rep(3, 5)),
Mean_1=c(
rnorm(5, mean=3, sd=1), rnorm(5, mean=5.7, sd=1.2), rnorm(5, mean=7, sd=1.3),
rnorm(5, mean=3.5, sd=1), rnorm(5, mean=3, sd=1.2), rnorm(5, mean=4.2, sd=1.7)),
eventType=c( rep("errors", 15), rep("stops", 15)))
doi$Group=factor(doi$Group, labels=c("Control", "Short", "Long"), ordered=T)
## construct contrasts
contrasts(doi$Group)=contr.poly(levels(doi$Group))
model1=aov(Mean_1 ~ Group*eventType, data=doi)
model1....
2007 Jun 23
0
[1063] trunk/wxruby2/swig/classes/EvtHandler.i: Add a public ''connect'' method for handling arbitary user-defined events
...re defined by Events.cpp, generated from
+// swig/Event.i and modified by swig/fixevents.rb
</ins><span class="cx">
</span><ins>+// This provides the public Ruby ''connect'' method
+%extend wxEvtHandler {
+ VALUE connect(int firstId, int lastId, wxEventType eventType)
+ {
+ VALUE func = rb_funcall(rb_cProc, rb_intern("new"), 0);
+ rb_global_variable(&callbacks);
+ if(callbacks == Qnil)
+ callbacks = rb_ary_new();
+ rb_ary_push(callbacks, func);
+
+ wxObject* userData = new wxRbCallback(func);
+ wxObjectEventFun...
2007 Jun 28
0
[1096] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add mapping for another obscure and undocumented event type
...28 18:42:03 UTC (rev 1095)
+++ trunk/wxruby2/lib/wx/classes/evthandler.rb        2007-06-28 18:46:41 UTC (rev 1096)
</span><span class="lines">@@ -105,6 +105,9 @@
</span><span class="cx"> EventType[''evt_char'', 0,
</span><span class="cx"> Wx::EVT_CHAR,
</span><span class="cx"> Wx::KeyEvent],
</span><ins>+ EventType[''evt_char_hook'', 0,
+ Wx::EVT_CHAR_HOOK,
+...
2007 May 31
0
[1039] trunk/wxruby2/swig/Events.i: Remove some debugging output
...constant const int wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK;
</span><span class="lines">@@ -280,7 +279,6 @@
</span><span class="cx"> static VALUE internal_evt_with_id(int argc, VALUE *argv, VALUE self,
</span><span class="cx"> wxEventType eventType)
</span><span class="cx"> {
</span><del>-        puts("Called internal_evt_with_id in Events");
</del><span class="cx"> if (argc != 1)
</span&...
2007 Jun 23
0
[1064] trunk/wxruby2/swig/Events.i: Removed unused func, updated comments
...                                  wxEventType eventType);
</ins><span class="cx">
</span><del>-void internal_connect(VALUE self, int firstId, int lastId,
- wxEventType eventType);
-
-
</del><span class="cx"> static VALUE internal_evt_with_id(int argc, VALUE *argv, VALUE...
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
...lt;span class="cx"> %}
</span><span class="cx">
</span><span class="cx">
</span><del>-#if 0
-%{
- static VALUE callbacks = Qnil;
-%}
-
-%{
-static void internal_connect(VALUE self, int firstId, int lastId,
- wxEventType eventType)
-{
-
- wxEvtHandler *cppSelf = (wxEvtHandler *) 0 ;
- SWIG_ConvertPtr(self, (void **) &cppSelf, SWIGTYPE_p_wxEvtHandler, 1);
-
- VALUE func = rb_funcall(rb_cProc, rb_intern("new"), 0);
- rb_global_variable(&callbacks);
- if(callbacks == Qnil)
- ca...
2010 Oct 22
0
CEL ODBC problem in 1.8.0
Hi,
I have been experimenting with CEL in a trunk version of asterisk for some time and have upgraded my test machine to 1.8.0 today.
Made a few calls and it looks like the eventtype field is missing in the CEL insert query when using ODBC. I see the following errors on the console:
[Oct 22 21:46:09] WARNING[952]: res_odbc.c:634 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 23502: ERROR: null value in column "eventtype" violates not-null constraint...
2014 Mar 05
1
Asterisk 11, CEL and ConfBridge recordings
Dear friends,
Need to know filenames of conference recordings in Asterisk 11.
Besides directory scanning the recordings could use CEL:
Filter MySQL rows with eventtype equal CHAN_START and channame like
ConfBridgeRecorder and then get the eventtime field and convert to
timestamp to complete filename(s).
Would you suggest any other approaches?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pip...
2012 Dec 22
1
Character Variable in X axis scatter plot
...I can Import from Excel File OK
.Workbook <- loadWorkbook("/media/4C90-B739/Oct13-Dec21Bsl.xls")
JJData <- readWorksheet(.Workbook, "Oct13-Dec21Bsl")
remove(.Workbook)
have a data frame with following.
DATEEVENT
AdjDateTime
TIMESLOT
EVENTTYPE
KEY0
BSLmmol/L
41195.3027777778
13/10/2012 7:16
1
1
278
15.44
41195.4909722222
13/10/2012 11:47
2
1
327
18.17
41196.3666666667
14/10/2012 8:48
1
1
246
13.67
41196.4923611111
14/10/2012 11:49
2
1
353...
2007 Jun 25
0
[1066] trunk/wxruby2/swig: Move EVT constants in swig/classes/Event.i; add a few missing ones
...                                  wxEventType eventType);
-
-static VALUE internal_evt_with_id(int argc, VALUE *argv, VALUE self,
- wxEventType eventType)
-{
- if (argc != 1)
- rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc);
-
- int id = NUM2INT(argv[0]);
-
- internal_connect(self, id,...
2007 Apr 13
2
who can give me an EvtHandler#connect example?
I read the api document online: http://wxruby.rubyforge.org/doc/evthandler.html
but still don''t know how to use it.
EvtHandler#connect
connect(Integer id, Integer lastId, EventType eventType,
ObjectEventFunction function,
Object userData = nil,
EvtHandler eventSink = nil)
the online doc''s example is write in C++:
frame->Connect( ID_EXIT,
EVT_COMMAND_MENU_SELECTED,
CommandEventHandler(MyFrame::OnQuit) );
is it like this?:
frame.conne...
2007 Jun 26
0
[1075] trunk/wxruby2/lib/wx/classes/evthandler.rb: Send IconizeEvent to EvtHandlers
...        2007-06-26 00:09:34 UTC (rev 1075)
</span><span class="lines">@@ -287,7 +287,7 @@
</span><span class="cx"> Wx::Event],
</span><span class="cx"> EventType[''evt_iconize'', 0,
</span><span class="cx"> Wx::EVT_ICONIZE,
</span><del>- Wx::Event],
</del><ins>+ Wx::IconizeEvent],
</ins><span class="cx"> EventType[''evt_i...
2013 Nov 18
1
CEL for attented transfer
...nd 100 hears the transfer message,
. 100 dials phone 103,
. 103 answers,
. 100 hangups,
. 107 and 103 are connected,
. 107 hangups.
CEL is configured with apps=all and events=ALL, and events are stored in
a database via cel_pgsql.
This is the list of events in the database for this call:
eventtype | channame | peer
-
-----------------+--------------------------------+-------------------------------
CHAN_START | SIP/107-0274 |
CHAN_START | SIP/100-0275 |
ANSWER | SIP/100-0275 |
ANSWER...
2007 Jun 26
0
[1081] trunk/wxruby2: Added HyperlinkCtrl from the 2.8 API plus event mappings
...26 17:54:51 UTC (rev 1080)
+++ trunk/wxruby2/lib/wx/classes/evthandler.rb        2007-06-26 18:35:28 UTC (rev 1081)
</span><span class="lines">@@ -285,6 +285,9 @@
</span><span class="cx"> EventType[''evt_help_range'', 2,
</span><span class="cx"> Wx::EVT_HELP,
</span><span class="cx"> Wx::Event],
</span><ins>+ EventType[''evt_hyperlink'', 1,
+ Wx::EVT_COMMAND_HY...