Displaying 20 results from an estimated 2000 matches similar to: "New inheritance"
2007 Mar 15
6
Patch to 0.0.39
Hi
I''m developing software using wxruby2. At first I tried to use wxruby
0.6 but I couldn''t live without some of those new funky features :)
So, instead of writing my own code, I got a bit sidetracked and wrote
http://rubyforge.org/tracker/index.php?func=detail&aid=9297&group_id=35&atid=220
instead.
Seeing as this is my first foray in to the innards of wxruby2, I
2006 Jul 24
6
MiniFrame.i
Hi
Another little patch, adding MiniFrame (a frame with small title bar and
buttons which doesn''t appear in the desktop taskbar).
Also a sample - not very interesting, happy to roll this into something
else if that''s better.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
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 Oct 06
9
Grid.GetTextExtent
Wow. Look what SWIG does to GetTextExtent in Grid.cpp:
void SwigDirector_wxGrid::GetTextExtent(wxString const &string, int *x,
int *y, int *descent, int *externalLeading, wxFont const *font) const {
...
if (swig_get_up()) {
wxWindow::GetTextExtent(string,x,y,descent,externalLeading,font);
return;
}
obj0 = rb_str_new2((const char *)(&string)->mb_str());
2006 Oct 05
2
0.36 release problem?
I tried sending this a day or two ago but I didn''t see it appear.
I''ve just tried the wxRuby 0.36 release but appear to get the following error (I got it from bigdemo.rb too).
C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal
Our Initialize was called
Their Initialize returned 1
2005 Aug 16
9
Patch and files to add Listbook
I added the Listbook class (basically the same as the Notebook class
with some name changes). I also took the time to write a sample that
uses it. The sample interface uses XRC and is slightly more advanced
than the current XRC sample.
Sean
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Aug 24
5
TreeCtrl background?
On my windows build, I just noticed that the background of my TextCtrl''s
is grey by default, and when I try to set the default style I get the error:
TestTextCtrl.rb:15:in `set_default_style'': undefined method `'' for
#<Wxruby2::TextCtrl:0x360a0c4> (NoMethodError)
from TestTextCtrl.rb:15:in `initialize''
from TestTextCtrl.rb:24:in
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Please report any bugs or feature requests here:
http://rubyforge.org/tracker/?group_id=35
Changes in this release include:
* Added XRC (Xml Resource File) support.
* Added totally awesome HTML widget from Tobi
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up
2007 Jul 04
5
loading menu using XmlResource
Hi,
i''m evaluating XmlResource: loading frame, dialogs and access widgets is ok
but i''m not able to load menu bar and menu using the corresponding methods
XmlResource#load_menu_barXmlResource#load_menui get the error saying ''XML
resource ''Opzioni'' (class ''wxMenu'') not found!'' trying to load a menu and
''XML resource
2006 Sep 03
9
Patch files to implement AcceptFocus
These files add the virtual function AcceptFocus that was missing from
wxWindow.h. In order to make things right I had to make sure it was
also declared in all the places where wxWindows also changes it. Also,
in wxTextCtrl on Windows GetDefaultAttributes needs to be redeclared. I
haven''t downloaded the Unix and Mac headers for 2.6.3 so I couldn''t see
if it also applies
2006 Apr 23
4
Wx::Window#get_text_extent patch
Here''s a patch to fix Wx::Window#get_text_extent - it requires that the
patches from teh last message are applied, to enable *INPUT etc typemaps.
Roy - though the function works correctly when called from Ruby, it
still causes a crash when called internally when clicking on a Wx::Grid
cell. Saw your message on SWIG mailing list, hopefully someone there can
help out.
alex
2008 Sep 12
7
embedding wxruby?
Hello,
is it possible to code a wxWidgets GUI in C++ and pass the whole wxApp or just single windows to embedded Ruby code? This would be very nice to provide a scriptable plugin system.
Greetings,
Niklas
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Sep 20
3
Fix for non-centered windows
Two patches here:
First one removes virtual from a function that shouldn''t have been virtual.
Second one applies a typemap to catch GetRectFromChildWindow. For
reasons that are completely beyond me the standard ruby OUTPUT typemaps
don''t define directorargouts. I will take a stab at patching SWIG''s
default typemaps someday so we get this fixed for free on all our
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 Aug 13
25
wxruby2 alpha status
Hi all,
How soon can we do our alpha (binary gem) release?
1. I would like to get the samples working a bit better, but am ok
simply documenting most of the current problems. Do the samples crash
every few minutes for other people? Or is it just me? I would like to
have a copyright/license comment at the top of every sample file before
the alpha release.
2. I would like to receive and merge a
2006 Dec 02
7
Gauge Problem with XRC?
Hi
I''ve just started using wxruby2-preview-0.0.36-i386-mswin32
outsourcing layout part to the external XRC file. Almost everything
seems to be fine. Only that I can never retrieve Gauge objects in the
main script. What I''ve been trying is something like this:
class MainFrame < Wx::Frame
include Wx
def initialize(parent)
super(nil,-1, "")
2006 Jul 25
6
Wizards
Hi
Please find attached a set of patches and swig files to implement
Wizards for wxruby. Also a brief sample.
Quick q - the C declarations of evt_xxx_xxx methods and their attaching
to Ruby classes seems to be duplicated across Events.i and EvtHandler.i
- is one of these the right place to be adding them? or both?
Thanks
alex
_______________________________________________
2007 Apr 30
0
[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
<!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 Aug 17
7
Volunteer requested: Implement SplitterWindow
About a year ago (ouch!), Robert Carlin submitted a ported version of
the wxPython demo/sample. I hoped to include it in wxruby2, but it
relies on SplitterWindow, which isn''t in wxruby2 yet.
I tried to implement SplitterWindow myself, but got such strange results
that I''m thinking I did something wrong. Even though the generated C++
code specified a variable number of