search for: wxpython

Displaying 20 results from an estimated 121 matches for "wxpython".

2006 Aug 25
1
wxPython/wxRuby
I''ve downloaded wxPython and the demos and am trying to update our bigdemo. I can see some big differences in how wxRuby and wxPython interact on Windows. Our layout seems wrong. For example, I never knew the textctrl sample had more than two controls on it! I only ever saw the two. In the python version, the con...
2006 Sep 03
5
Status Update
...eel like I''ve gotten any actual ''work'' done on fixing wrapping problems, adding new classes or improving the samples. I''m searching for any but haven''t found ''em. Some things I''ve noticed: 1) Some controls look a lot better in the wxPython examples. Maybe we''re not setting the correct window style flags? I vaguely recall someone posting about setting some flag for Windows that caused it to use the XP look. 2) the tip of the day opens in the wrong place now. 3) ''random'' crashes 4) Layout problems....
2004 Mar 30
12
Big question: Move to SWIG?
...people to add support for additional classes and methods. It already has several features that I would hope to add to wxpp soon, and has others that would probably be difficult to add to wxpp. Essentially, SWIG seems to be a very mature, well-supported version of what wxpp could be. FXRuby and wxPython, which I consider to be close "cousins" of ours, both use SWIG. As an experiment, in an empty directory, I created a SWIG file that wraps a minimal Wx::App. I wrote a tiny ruby app that creates a Wx::App object, and calls set_vendor_name and get_vendor_name on it. It all works, and i...
2004 Jan 15
10
Wx::ListCtrl#get_item method
Hi guys! I have a question (or a request?) on Wx::ListCtrl#get_item method. As you can see in the wxWindows reference, wxListCtrl::GetItem method of C++ is different from that of wxPython. C++ return value: boolean argument: wxListItem& info wxPython return value: wxListItem arguments: int ID, int column (optional) How about wxruby? >From the wxruby source code, wxruby looks similar to C++. However I''m not sure of that due to lack of my C++ skills. Anywa...
2004 Jun 08
1
Nested shared library calls in Linux
Hi, I have an interface from R to the wxPython GUI toolkit which works under Windows: http://bioinf.wehi.edu.au/folders/james/wxPython/ (as long as you build RSPython with a shared (not static) Python library). But on Linux I get an error: > library(RSPython) > importPythonModule("wx") Error in .PythonEval(cmd) : Error in Py...
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi, I am making a game with Ruby/SDL and have run into trouble finding a GUI to cooperate. I have seen numerous examples of wxWindows in combination with SDL (wxPython and PyGame), but have yet to be able to do it in ruby (PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame). I am not very good with wxRuby as this is my first time using it and thought some more knowledgable users could help me out. Thanks! Steve
2004 Jun 11
9
Handling Events that don''t take an ID
Hey Kevin, Am I correct in assuming that if I want a particular widget to respond to an event which doesn''t take an ID as an argument (like evt_size or evt_left_down), that I have to inherit a new widget and define the event handler within the inherited class? Here''s a little contrived code example to illustrate what I mean: class MyCtrl < Wx::TextCtrl def
2010 Jan 17
3
Does wxRuby include Gizmos controls?
Hi, I''m starting to use wxRuby for personal projects. Originally, I used wxPython in my company because they don''t want to install the Ruby environment just for me... But at home, I still prefer the Ruby language... So, wxWidgets is a great library, but wxPythons add some intersting stuff. I''m specially interested by the TreeListCtrl. it seems that this contro...
2006 Sep 06
12
Patch to wxWindow.h
This patch fixes background color problems (at least on Windows). It uses the dreaded ''FIXME'' My plan for next weekend is to try building wxPython from the source to see how they manage to achieve several things with SWIG that we''re not (yet) able to. If I''m successful it might lead to wrapping a significant portion of wxWidgets more correctly than we''ve been able to. Hint to Ruby lurkers: There are some class...
2008 Mar 31
2
Mouse motion example - help
Hi, I am trying out this example adapted from the wxpython book, but the mouse motion event does not seem to be captured right. What am I doing wrong? Thanks warrior # code below require ''wx'' class MyFrame < Wx::Frame def initialize super(nil, -1, "My Frame", :size => [300,300]) @my_panel = Wx::Panel.new(self,...
2004 May 01
2
MDI interface with sidepanel
...with various controls in it. The MDIParentFrame doesn''t work properly if I put it inside another frame with a sizer, so I''d appreciate some tips on a good way to do this. On the WXWidgets mailing list, I saw this recommended: http://cvs.osafoundation.org/index.cgi/osaf/chandler/wxpython/wxPython/demo/MDISashDemo.py?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup It''s an example for how to get exactly this layout using WxPython. However, it uses SashWindowLayout, which isn''t yet implemented in WxRuby - is there some other class I can use to simulate this...
2004 Apr 26
7
TRW: getters and setters
Hi all, I mentioned this on the forum but wasn''t sure if anyone was paying attention. I was just wondering if it would be possible to replace the get_something/set_something style methods with the more Rubyish something/something= style (i.e. uniform access). For example, the Button class currently has button.get_label and button.set_label("foo"). It would give me warm,
2008 May 14
0
[ wxruby-Patches-20130 ] Event handling performance issues
...e) Summary: Event handling performance issues Initial Comment: Hi folks. This little patch intend to increase the performance on event handling. Based on my 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 m...
2006 Sep 03
5
Patch to wxMDIParentFrame.h
This patch file will allow the MDI example to run. We''ll need to revisit it later. There''s still a crash but it''s the same crash as from the scrolled window example. I''ll send a patch later that fixes the problem with DrawLines. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2007 May 07
11
Is there any IDE (event driven) for wxRuby?
Hello, I''m completely newbie to wxRuby, in fact to Ruby language as well, but I''m completely in love with it!! I''m not a programmer, dunno maaaaaaaaany "technical things" but I''m doing my best. I Installed wxWidgets and wxRuby, the samples files run perfect, I was wondering... IS THERE ANY IDE FOR WXRUBY? something like REALbasic or Xcode Interface
2007 Oct 20
3
Learning sources
When i decide to create a GUI for my desktop "Ruby" application, i have been stucked about wxruby. Then i have looked at wxwindows and wxwidgets sources but the syntax was not so familiar to me. Because the examples were written in C++ generally. For understanding main concept this experience was good for me. Later, for more familiar syntax i have looked at wxphyton sources and i read
2005 Sep 11
4
Handling int pointer parameters
There are several functions that take the parameters (int *x, int *y) In some cases x & y are simply return values. In some cases x & y are both input and output. How are we going to handle this properly? One method would be to change the header files to something like xin or xout. I don''t really like that method as it''ll break as soon as header files change.
2004 Jan 27
0
FW: Wx::ListCtrl#get_item method
...nuary 26, 2004 11:48 PM >>To: Nobuaki Arima; Wxruby developers'' list >>Subject: Re: [Wxruby-users] Wx::ListCtrl#get_item method >> >> >>Nobuaki Arima wrote: >> >> >>>I tentatively revised Wx::ListCtrl#get_item method to use the >>>wxPython-type API. >>> >>> >>Thanks for submitting this code. I have checked in changes to wxRuby >>that implement ListCtrl#get_item to match the wxPython way. >> >>I ended up not using the actual C++ code you submitted, but it was >>helpful as a guideline. An...
2008 Mar 07
7
extractxml.rb
Hello again, I''m noticing that many of the headers in swig/classes/include have the comment: // This file was automatically generated // by extractxml.rb, part of the wxRuby project // Do not make changes directly to this file! Is this still the case, or was this just a one-time conversion? 228 out of 441 files in that directory don''t have the comment. I ask this because
2010 Apr 13
1
CentOS-3, is this what I need?
...tioned before that I am new to linux and I always prefer to use VirtualBox, when ever I try any new distribution. In short these are my requirements and I would like to know whether CentOS-3 is the right choice for me or not? 1. Use VirtualBox. XP Host & CentOS-3 guest. 2. python 2.6.4 3. wxPython 2.8.10.1 from wxWidgets repository 4. libcairo 1.8.8 5. pycairo 1.8.6 6. couple of other python modules. Are these packages available or if not can be downloaded from other repositories? I am also concerned about my requirements that whether they themselves will suffer from binary dependency...