Displaying 20 results from an estimated 10000 matches similar to: "require 'wx' ruby 1.8 vs 1.9"
2007 Sep 05
6
centering MessageDialog
Hi,
is there any way to center the default Wx::MessageDialog or Wx::message_box
on parent (owner) instead of screen?
I haven''t found any constant other than Wx::DEFAULT_POSITION.
thanks for your help.
fabio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Nov 30
7
wxComboBox and wxTE_PROCESS_ENTER
Hi all,
i am trying to use wxComboBox (instead of wxChoice) to capture
wxTE_PROCESS_ENTER event.
If i enable TE_PROCESS_ENTER flag on the resulting xrc file, i get an
''Unknown style flag wxTE_PROCESS_ENTER'' on app loading.
Probably wxComboBox doesn''t reconize this kind of event.
How do i catch this event for the wxComboBox widget?
Thank you all.
bio.
2007 Aug 06
3
base64 image
Hi all,
is there any way to load a base64 converted image using classes such as
Image or Bitmap?
Thank you,
fabio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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
2007 Jul 27
1
Wx::ListItem data
Hi all,
i have a question:
i need a Wx::ListItem to wrap my content but i get a strange result...
irb(main):001:0> require ''wx''
=> true
irb(main):002:0> li = Wx::ListItem.new
=> #<Wx::ListItem:0x281610c>
irb(main):003:0> li.set_data(3)
=> nil
irb(main):004:0> li.get_data
=> 7
any hint?
thank you,
fabio.
2007 Jul 05
8
when can publish the next version?
when can publish the next version?
i am waiting...
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Oct 06
2
StdDialogButtonSizer default button
Hi all,
How do i set the default button for a Wx::StdDialogButtonSizer?
Any hints would be appreciated.
regards.
bio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Oct 17
3
ListCtrl loading data
Hi all,
I''m using a ListCtrl on LC_REPORT mode.
using set_item(index, col, ''value'') the list does''t get populated.
Is it a bug? which is the method to call?
i''m using ruby 1.8.6 wxruby 1.9.8 mswin32 on winXP
attached is an example.
thank you.
bio.
_______________________________________________
wxruby-users mailing list
2009 Aug 05
1
Re: mingw32 library compatibility
Hi Fabio
Fabio Petrucci wrote:
> is the mingw32 wxruby distribution
> http://rubyforge.org/frs/download.php/52487/wxruby-ruby19-2.0.0-x86-mingw32.gem
> compatible with
> mingw32 ruby 1.9.1 installer provided by Luis Lavena
> http://rubyinstaller.org/downloads/ ?
I think it is - I believe that''s the MingW-ruby19 distribution that''s
used to build wxruby-2.0.0
2007 Jun 18
2
(no subject)
Bonjour, en fait j''ai chercher sur rubyforge quelques projets créer avec wxruby ou wxruby2, en vain!!!
je voulais savoir si vous pouviez me donnez quelques noms de projets créer avec wxruby ou wxruby2 pour que je puisse voir ce que d''autres personnes ont pu réaliser.
Merci
Sebastien
_______________________________________________
wxruby-users mailing list
2007 Aug 24
1
Choice append
Ciao Alex,
Is it possible to enable the overloaded method ''ControlWithItems#append'' to
be able to provide user data?
to do this:
ch = Wx::Choice.new()
ch.append("pluto", 10)
ch.append("pippo", 20)
ch.append("paperino", 30)
instead of this (the way i''ve found to get the same result):
ch = Wx::Choice.new()
id =
2008 Aug 12
1
xrc panels using xrcise
Hi all,
I''m facing a problem generating base classes using xrcise.
i''ve this xrc layout:
<?xml version="1.0" encoding="UTF-8"?>
<resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">
<object class="wxFrame" name="ID_NOTIFIER" subclass="notifier">
2009 Sep 05
5
Filling Wx::ListCtrl with contents
Hi all,
I''ve got a question concerning ListCtrl_virtual of wxRuby since I see no
way filling the list with dynamic contents. I''m new to Ruby so I maybe
have to apologise for my request.
The problem is, that I have to define the on_get_item_text(item, col)
function. There I would like to use the item and col variables to read
data from a two-dimensional array. My very problem
2006 Dec 07
4
Introduce and noob problem require ''wx''
Dear All,
my name is Raoul, this is the first time I post here.
I''m a computer scientis and I''m working in bioinformatic''s filed, we have a
lot of tools to analyse the data but no good graphic applications to
visualize them. So I''m looking for a good framework for my job. I think your
motivations on using wxruby are good, most important for me is the
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users.
This is an addition which implement wrapper for
overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was
impossible to make it correctly without ugly hack to wxpp.rb, but i`m
hope it does not broke it.
Please look at attachment for a patch for htmlwindow.t and wxpp.rb and
additional file htmllinkinfo.t (need to be added to $objs array in
extconf.rb).
Sample
2005 Nov 25
2
Wx::SystemSettings mark II
hi
patches and files for Wx::SystemSettings, with get_font included in swig
file and a sample that doesn''t segfault wxruby.
CVS patches: RubyConstants.i, type_map.i
CVS new: system_settings.rb (sample) SystemSettings.i (SWIG file)
The sample should allow you to view the available information about
system colours, fonts and metrics (eg cursor size, display size) in a Grid.
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
2005 Jul 26
3
Wx::Html* widgets
Hello,
I''m having problems using the widgets Wx::Http*, such as
Wx::HtmlWindow, Wx::HtmlEasyPrinting, etc..
The error I got is "uninitialized constant Wx::HtmlWindow". The code
is correct since I''m trying to execute samples in the html/ directory.
All other samples work. I can''t even see that widgets doing
require ''wxruby'';
2007 Jul 20
8
Wx::StaticText
Salut alex.
J''ai une question a propos de wx::statictext(wxruby2)
est-il possible de mettre les accents pour la langue française?, car pour l''instant je ne peut pas mettre l''accentuation alors que ça marche bien avec "wxruby".
merci
Sebastien
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2009 Oct 25
2
wxruby2.so: [BUG] Segmentation fault on require 'wx'
Hi --
I am trying to get ruby 1.9 to run on my Windows Vista Ultimate computer
with and Intel 32 bit processor and all OS updates applied.
I installed ruby 1.9 on October 23, 2009 using the zip file
(ruby-1.9.1-p129-i386-mswin32.zip) and the instructions located at:
http://blog.orangecabin.com/2009/05/install-ruby-1-9-on-windows-using-zip-binary/.
I was able to run several simple scripts. So far