similar to: additions to wxKeyEvent

Displaying 20 results from an estimated 5000 matches similar to: "additions to wxKeyEvent"

2007 Jul 04
0
[1107] trunk/wxruby2: Add the 2.8 get_modifiers method to KeyEvent; remove some deprecated
<!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:
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 =~
2007 Jul 04
0
[1106] trunk/wxruby2/swig/RubyConstants.i: Add the MOD_XXX constants as used in wxKeyEvent
<!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:
2003 Dec 13
1
widget hierarchy - program variables
Hi! During developing my little program, I''ve noticed, that the objects have a hierarchy, but now I don''t know what to do, if a widget initiates an event which has an effect to the parent, grandfather/brother/other relatives. Is there a tutorial for this aspect? Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ |
2010 Jan 24
13
Where can I find a list of events for each widget?
I''ve searched the documentation like crazy but I can''t seem to find the events for each of the widgets. Any info on this would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2017 Jan 11
2
bug with strptime, %OS, and "."
On Tue, Jan 10, 2017 at 08:13:21PM -0600, Dirk Eddelbuettel wrote: > > On 10 January 2017 at 17:48, frederik at ofb.net wrote: > | Hi R Devel, > | > | I just ran into a corner case with 'strptime'. Recall that the "%OS" > | conversion accepts fractional seconds: > | > | > strptime("17_35_14.01234.mp3","%H_%M_%OS.mp3")$sec > |
2010 Nov 22
3
Splitting 3D matrix from for loop to generate/save 2D matrices
Hi! I have a matrix called M with dimension (586,100,100). I would like to split and save this into 586 matrices with dimension 100 by 100. I have tried the following for loops but couldn't get it work.. l<-dim(M)[1] for (i in (1:l)){ save(M[i,,],file = "M_[i].img") } Can somebody help me with this? Thanks! Hana Lee [[alternative HTML version deleted]]
2009 Sep 22
3
how to convert character string with only month and year into date
Dear R helpers. I am new to plotting time data using R. wonder how to convert character time info into date in R. I searched over the web but did not find answer. the input character string is something like 03_1993 or 03-1993, so the precision is at month level. I tried the following but failed. #R code below. strptime(c("03_1993"),"%m_%Y")
2017 Jan 11
4
bug with strptime, %OS, and "."
Hi R Devel, I just ran into a corner case with 'strptime'. Recall that the "%OS" conversion accepts fractional seconds: > strptime("17_35_14.01234.mp3","%H_%M_%OS.mp3")$sec [1] 14.01234 Unfortunately for my application it seems to be "greedy", in that it tries to parse a decimal point which might belong to the rest of the format: >
2014 Oct 13
5
[LLVMdev] RFC: variable names
On Mon, Oct 13, 2014 at 4:25 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > On Mon, Oct 13, 2014 at 4:00 PM, Chris Lattner <clattner at apple.com> wrote: > >> On Oct 13, 2014, at 3:44 PM, Chandler Carruth <chandlerc at google.com> >> wrote: >> > I actually have a particular allergy to member variable names and >> function names having
2007 Jun 28
0
[1096] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add mapping for another obscure and undocumented event type
<!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:
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
<!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:
2004 May 22
10
Tabbing between Notebook pages
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: wxTony.rbw Type: application/octet-stream Size: 10436 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040522/9c1889d0/wxTony.obj
2019 Feb 22
3
RFC: changing variable naming rules in LLVM codebase
> -----Original Message----- > From: David Greene [mailto:dag at cray.com] > Sent: Friday, February 22, 2019 2:40 PM > To: Robinson, Paul > Cc: asb at lowrisc.org; clattner at nondot.org; llvm-dev at lists.llvm.org; > nd at arm.com > Subject: Re: [llvm-dev] RFC: changing variable naming rules in LLVM > codebase > > via llvm-dev <llvm-dev at lists.llvm.org>
2012 Sep 28
3
Simple Question
Hi Everyone, I am trying a very simple task to append the Timestamp with a variable name so something like a_2012_09_27_00_12_30 <- rnorm(1,2,1). Tried some commands but it doesn't work out well. Hope someone has some answer on it. Session Info R version 2.15.1 (2012-06-22) Platform: i386-apple-darwin9.8.0/i386 (32-bit) locale: [1]
2007 Mar 17
2
newbie: listbook sample on fedora5
opens a basic frame (empty) with following errors (wxruby:17165): Gtk-WARNING **: Attempting to add a widget with type GtkPizza to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkPizza (wxruby:17165): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)'' failed (wxruby:17165):
2016 Jun 09
6
Samba 4.2 - OS X 10.11 - permissions are being ignored
Hi, when saving a file to this share the permissions (0777) are being ignored under OS X 10.11.5. All files will get these permissions: 0755. I don't know why? Samaba Version 4.2.7-SerNet-RedHat-19.el6 CentOS release 6.7 [global] workgroup = BAVARIA server string = Samba Server %m netbios name = NASBAV1 log file = /var/log/samba/%m_%a_%R.log
2009 Apr 25
2
Extracting an object name?
Dear Sir or Madam: This is an extension to a earlier post, about looping through several thousand files, and testing student's models against a different data-set, called rclnow, for "recall now". The problem is, that the instructor never specified to the students, what they should name their "lm" object. So what they created was: "arbitrary variable name"
2006 Oct 16
2
Re : Re : Generate a random bistochastic matrix
Yes, you're right. In fact, it's just an adaptation of a matlab command and the author advises using N^4 replications that's why it's the default in the function. The bistochastic matrix is not my subject of interest, but I need it to perform some random tranformation of a vector of incomes. Florent Bresson ----- Message d'origine ---- De : Richard M. Heiberger <rmh at
2002 Jul 29
5
HOWTO Create a PDF Writer in samba
Hi all, Thought I'd post this to the list as I found a better way of doing it. Nice to have for posterity. Please include it in the source of samba if you wish - I hereby license it under GPL 1. install ghostscript (most distributions include it anyway) 2. put the following in the file /usr/sbin/pdfprint and make it executable by whatever your guest user for samba is : #!/bin/bash