similar to: Adding to wxRuby (Now I fired up)

Displaying 20 results from an estimated 600 matches similar to: "Adding to wxRuby (Now I fired up)"

2004 Nov 24
5
wxRuby Print class Progress
Right now I have the following progress made with printing: - WxPrinterDC - 100% - WxPrinter, 90% - WxPrintData - 10% - WxPrintDialog - 80% - WxPrintDialogData - 10% - WxHtmlPrintout - 10% - WxPrintout - 0% (this is abstract class I need to work on so wxRuby users can subclass) - WxPrintPreview - 0% By the end of this weekend I hope to have all of the above classes completed. I do have partial
2006 Oct 25
6
PrinterDC.i Patch
This patch allows PrinterDC to go merrily by on Linux. I''m not sure it''s the best solution to the problem so I submit it for your approval. Roy -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: PrinterDC.i.patch Url: http://rubyforge.org/pipermail/wxruby-development/attachments/20061024/585c15f2/attachment.pl
2004 Nov 24
3
[DEVEL] Defining Pure Virtual Functions
I am working on the Printer, PrintDialog, PrintDialogData, PrinterDC, etc... classes and I''m having a problem with Printout. In the wxWindows source, the file "prntbase.h" defines the class "wxPrintout". When wrapping this for wxRuby I am trying the call: cppResult = new wxPrintout( cppParm0 ); //where cppParm0 is a wxString If I do this it complains that I need
2004 Nov 21
2
[DEVEL] Virtual Methods
Nick, I had a few minutes so I implemented the WxPrinterDC class tonight, and I have a question on Virtual Methods. Is there a general rule of thumb to follow? Should they be implemented in the wxRuby header and source files, or should I ignore them? They are not listed on the WxWidgets documentation page, but they are in the wxWidgets source file, as being public virtual methods. Examples:
2005 Aug 22
2
Adding ScreenDC
Here is the file to add ScreenDC. I noticed that it inherits from wxDC which is what the docs show but the headers for each platform are much different: - Mac,MSW,os2,motif,palmos all inherit from wxWindowDC - X11,GTK inherit from wxPaintDC - MGL, cocoa inherit from wxDC After saying that on Windows it still work inheriting from wxDC so I left it for now, any thoughts? Sean
2006 Sep 03
3
Patch for DrawLines
These enable DrawLines and DrawPolygons. I disable the wxList one since the WX docs indicate that the list is now ''type-safe'' requiring a derived class to send a wxList of Points. Since we''re unlikely to do this I just blocked it off so it doesn''t interfere with internal functions that may call that one. Note: MemoryDC doesn''t inherit from DC.h.
2006 Jul 19
8
small patch for wxWindow::GetTextExtent
I have not worked on wxRuby2 for awhile and decided to download the latest CVS HEAD and saw that it still had a problem with wxWindow::GetTextExtent (in my case showing up when editing Grid cells). So I copied the method signature from the wxDC::GetTextExtent which seems to be working, changed 2 variable names and made the typemap the same as used for wxDC. Well in my program editing grid cells
2006 Oct 25
1
wxPrinterDC Part 2
Well, the docs do -indeed- say that wxPrinterDC is Windows only. Apparently it''s also for Macs. The docs are always a little loose in this regard.
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0 Since this generates a wxFont that''s not initialized to nil it fails when calling into wxWindows. Anyone have a suggestion?
2012 Sep 27
6
Mac Text editors
Hi everyone, I've recently moved from using a windows machine to a Mac (some might call it an upgrade, others not?I'll let you be the judge). Once I started using Notepad ++ on my windows machine, I really began to like it. Unfortunately, I'm not sure what the free text editor options are for the Mac (Notepad ++ is windows only). I've dabbled with Linux before and used
2003 Nov 13
7
modified classes
-- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ -------------- next part -------------- A non-text attachment was scrubbed... Name:
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:
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
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2005 Sep 11
1
Patches for bigdemo
Included are three patches to make the mdi demo work properly: main.rbw: Call init_all_image_handlers (Is there any reason we shouldn''t just do this for people? Why make them call this? Is there a downside to initializing image handlers?) wxScrolledWindow.rbw: Uncommented call to draw_spline wxDC.h: Added another prototype of draw_spline so draw_spline will work in the demo
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
2010 Aug 12
2
MSN wtf?
Well I've dabbled with Wine on and off for about a year and quite frankly, I've never gotten Wine to work... in fact I've never gotten Wine to do anything--I don't know why I bother, I guess because sometimes my head inflates, and I just need Wine to tell me that yes tehre are some htings in life I can't have. So I went here:
2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this affect anything at all?) and removes a definition that was causing a conflict. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Jun 22
8
Tracking Mouse motion
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: tst_wxPaint.rbw Type: application/octet-stream Size: 4446 bytes Desc: not available Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040622/abc8ba85/tst_wxPaint-0001.obj
1999 May 01
4
Bad smbclient put performance and smbfs write performance
Hi, I've had extremely bad smbclient put performance when connecting from my Linux box to a Windows 95 box. I only get about 10KBytes/s! All other forms of data transfer work fine, and I get from 600-700KBytes/s. This is on a local 10BT LAN. I've seen a few other reports of this, but no solutions as of yet. smbclient does puts just fine to another Linux/Samba Server. I'm using