similar to: enums

Displaying 20 results from an estimated 8000 matches similar to: "enums"

2005 Sep 13
2
Patches I forgot to send last night, pt. 1
Patch for RubyConstants.i to add ImageList constants _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I also expanded the bigdemo window a little bit. I really think we should go larger but I suppose there might be some people at 800x600 still. Note that creating your own art provider still doesn''t quite work correctly. I didn''t have time to get into that. The RubyConstants.i.patch file looks weird. Not
2005 Aug 30
2
Re: new RubyConstants.i
Here is a small patch to apply the above RubyConstants.i, it makes it so all the samples run. Run the patch in the same directory as the RubyConstants.i Sean On 8/30/05, Sean Long <sean.m.long@gmail.com> wrote: > I went through RubyConstants.i and updated it so everything matches > wx2.6.1, I also did some rearranging so it is easy to see which files > the different constants came
2008 Mar 04
1
enum arguments not recognized
Ok, I''ve found a minor problem that I was able to fix, but I''m not sure if this is the right way to handle it, being new to swig and all. Basically, in wxDC.h, there''s a function declaration: void GradientFillLinear(const wxRect& rect, const wxColour& initialColour, const wxColour& destColour, wxDirection nDirection = wxEAST); The problem is
2007 Apr 03
2
CalendarCtrl.date not working?
I finally got my CheckListBoxes under control (thanks Alex& Phil) and have moved on to tackling the CalendatCtrl. This one seemed pretty easy when I was reading through the documentation but I cannot retrieve the selected date. I have the following code: def initialize... ... @calendar = panel.add(Wx::CalendarCtrl[]) panel.add(Wx::Button[:label => ''test'']) do
2006 Mar 28
3
ListItem patches
Hi Attached, patches to implement ListItem. This class, in wxruby 0.6.0, allows styling of individual items in a ListCtrl, via a particularly clunky API. In disambiguating the overloaded ListCtrl#set_item method it introduces one non backwards-compatible change. I''ve followed the WxPython convention as described in the Wx class ref, renaming set_item(index, col, string, imageid) to
2006 Mar 30
4
RubyConstants.i patch
This patch fixes the problem with the undefined constants. Apologies to Alex as I didn''t apply his patches yet. The fix is to just removed the _C from the end of the ones that won''t compile anymore. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 15
2
wxCursor files
This implements the wxCursor demo and includes a patch to RubyConstants.i needed to make the cursors work right. pointy.png goes into the icons directory Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 13
2
RubyConstants.i.patch
This patch fixes up two problems with ArtProvider constants and fixes a small typo. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Apr 23
11
Building wxruby-swig for Mac
0.0.5 sure gets the Mac build a lot further. There''s a bug in the wxMac-2.4.2 distribution that I''m running into: wx-config wants to invoke a program in the source directory at link time. That''s ugly in itself, but it tries to use a variable ${top_srcdir} to accomplish this, and it''s apparently empty. It tries to invoke
2005 Dec 30
8
WxRuby newbie Mac OS 10.4 install questions
Hi. Forgive me if I am asking questions that have already been answered a million times, but there doesn''t seem to be an easy way to search the wxruby-users archives, so... I tried to install wxruby for the Mac by downloading the latest Mac package installer from rubyforge.org/frs/download.php/1985/wxruby-0.6.0-osx-panther.dmg and tried to run some of the wxruby-0.6.0/samples from the
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35 Category: Compile/build Group: current Status: Open Resolution: None Priority: 3 Submitted By: Tobias Peters (t-peters) Assigned to: Nobody (None) Summary: Unresolved symbol due to linkage error Initial Comment: While compiling wxruby
2006 Oct 17
3
Printing Support
Printing support is added to the repository (as you have seen / will see). Kudos to Sean for tackling such a big bear. I''ll work on adding the two dialogs to bigdemo later unless Sean tackles it first. Roy
2005 Sep 13
3
Patch to RubyConstants.i
This patch does two things: 1) puts in the enums (+ Ruby aliases) for the TreeCtrl icon settings 2) Removes a redundant definition of wxCURSOR_DEFAULT, eliminating a compiler warning on Windows Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Oct 17
0
[685] trunk/wxruby2/swig: Add Printing constants and typedefs, add two missing methods (Roy
<!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:
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of errors of the sort: WindowDisabler.obj : error LNK2001: unresolved external symbol _SWIG_Ruby_ConvertPtr I can see this is defined in rubydef.swg but I''m not sure why this isn''t just included in the files that need it. Can any swig experts tell me what I need to do to progress? I''m using
2004 Apr 25
2
wxruby-swig 0.0.9
More progress on wxruby-swig. Nothing too exciting. It now support 36 classes, compared to the (apparently) 139 supported by wxRuby 0.3. A working version of the calendar sample is included. I made several changes to the sample. I have tentatively decided *not* to wrap the wxDateTime class, and instead to automatically convert to/from Ruby''s own DateTime class. My logic is that in
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
Hello, I''m trying to compile wxruby for Ruby 1.9 on Ubuntu Karmic 64 bit, but I can''t get it to work. I''ve already done this for the 32 bit version (on another machine, of course), so I don''t see where''s the problem with that. I thought, I had all neccessary libraries installed, but maybe you know better... After compiling for a long time, rake fails
2005 Jul 26
10
Patch for wxRuby2
Ok so I made a lot of changes and the controls sample works pretty good now. What I changed or added: - Got all my modifications meshed into wxRuby2. - Added constructors to wxIcon.h - Changed Xrc.i to XmlResource.i and changed wxXrc to wxXmlResource within the file. I also had to change Xrc to XmlResource in rakewx.rb. - For backwards compatability with wxRuby 0.6 I added the subclass methods
2006 Sep 13
1
[Fwd: Re: [Swig-user] wrapping enums for python]
Take a look at this message thread. I think it would be interesting/nice if our constants and enums also returned a nice name when inspected. Thoughts? Roy -------- Original Message -------- Subject: Re: [Swig-user] wrapping enums for python Date: Wed, 13 Sep 2006 17:14:50 +0200 From: Nitro <nitro@dr-code.org> To: K M <intra611@gmail.com>, swig-user@lists.sourceforge.net