Displaying 20 results from an estimated 10000 matches similar to: "Image as a frame background"
2010 Jun 22
1
Stuck noobie: XRC/xrcise woes
Hi,
I''m teaching myself to use wxRuby and DialogBlocks to create a front end
for a Ruby program I wrote. And I''m hopelessly stuck!
In DialogBlocks (or indeed wxFormBuilder, which gives me the same
problem) I can create a widget, give that widget a new id and class name
(in the example I created below, text_box1 and CaseChangeTextCtrl1,
respectively), and then add a module which
2007 Dec 19
1
Menu Bar KeyBoard Shortcuts.
Hello,
I''m trying to use a wxMenuBar from XRC built with DialogBlocks on Windows.
My first example had the menu being called from the Frame because I couldn''t figure out
how to call the menu from my XRC. Shortcuts worked nicely.
Example 1:
menu.append(Wx::ID_EXIT, "E&xit\tAlt-X", "Quit this program")
tool.append(Wx::ID_PHOTO, "&MS Picture
2007 Oct 23
0
wxSugar 0.1.18
Coinciding with the wxRuby 1.9.2 release, we''ve got a new version of
wxSugar to go with it:
http://rubyforge.org/frs/?group_id=35
or
gem install wx_sugar
== WHAT''S NEW ==
The main exciting new feature in this release is a new tool called
"xrcise" to make working with visual GUI designers such as DialogBlocks
*much* easier. This tool generates all the code you
2007 Nov 12
4
XRCise says "Cannot create wrapper for subclass of wxWizard"
I have created a very simple DialogBlocks project that
consists of a very simple wxWizard. I have exported the
project to XRC and am trying to get XRCise to process it.
XRCise produces the message "Cannot create wrapper for
subclass of wxWizard".
Is this a symptom of the XPath parsing in Ruby 1.8.6 bug?
Or am I doing something wrong?
My env:
ruby 1.8.6 (2007-03-13 patchlevel 0)
2007 Dec 22
0
release plans
Hi all
We''ve been a bit quiet for a few weeks, being busy with other things,
but now looking at getting some new releases out again. We have lots of
nice stuff to get out there:
For 1.9.3, we''re looking to target early January. Aside from trying to
get a few more bugfixes in, most of the code is now there. As usual, any
time you''re able to spend testing SVN trunk
2004 Jul 06
13
XRC Resources
I currently use DialogBlocks to generate my dialogs for wxWidgets apps I
write in C++. DialogBlocks has the ability to generate XRC resources
which I would like to use with wxRuby, is this possible?
I am very new to Ruby and it looks like a great language and with wxRuby
it looks like a great solution for quick in house applications.
Thanks
Sean Long
2004 Oct 06
11
find_window_by_xxx doesn''t find Gauge or BitmapButton
I''m fairly new to the Ruby world, particularly WxRuby, so please
forgive me if this is ground that''s been covered in the past. I''m
trying to load a frame from an XRC file (created using DialogBlocks),
and I''m having trouble getting an instance of the Gauge object using
the Wx::Window.find_window_by_xxx methods. I''m trying this on Windows
XP,
2009 Mar 27
0
xrciser problem
I built a Windows GUI using DialogBlocks v4.29, saved the resulting XRC
for processing with wxRuby''s xrciser tool.
Following Ruby products installed:
wxRuby is v 2.0.0
wxSugar is v0.1.22
Ruby is v1.9.1
Rubygems is v1.3.1
Running xrciser on the file gives the following:
C:\ruby>xrcise -o toolgui.rb tool.xrc
2004 Feb 20
0
wxWindows name change
Ok guys, its official -- wxWindows will become wxWidgets (see below).
Curt
-----Original Message-----
From: Julian Smart [mailto:julian@anthemion.co.uk]
Sent: Friday, February 20, 2004 10:57 AM
To: wx-users@lists.wxwindows.org; wx-dev@lists.wxwindows.org;
wx-discuss@lists.wxwindows.org
Subject: [wx-dev] wxWindows name change
Dear wxFolk,
As you may be aware, the project is changing its
name
2007 Oct 05
7
Which editor
Ok, so I''m new to Ruby and wxRuby. I come from a Basic background
(RealBasic).
Can somebody suggest a decent IDE that is used for wxRuby. Something
where I can paste in code examples and then run them immediately. (I''m a
Windows Vista user)
Any suggestions welcome.
--
Posted via http://www.ruby-forum.com/.
2007 Apr 12
3
I''m looking for a wxwidgets interface builder which can output ruby code
Hi !
well i''m looking for a wxwidgets programming gui ( such as gtk/glade
qt-designer ), which can output ruby code,
i found wxglade, and wxdesigner, but both can''t output ruby files ...
do you one ? ( which runs on linux )
thanks
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Aug 24
0
Re: TextCtrl background? (was TreeCtrl background?)
You had me looking in TreeCtrl at first with the previous subject line :)
I too got an error and do not see an obvious reason, Kevin or Roy may
have a better idea as they are better with SWIG than I am.
You may want to put some printf''s in the generated TextCtrl.cpp file
within the SetDefaultStyle method and find where it is crashing.
The error in Mac OS X is:
test.rb:15:in
2009 Mar 23
3
How to put a background image on a panel
Well I''ve made a lot of progress on my app, but I''m stuck on figuring
out how to add a bitmap. I have a notebook and a page panel. On this
panel I want to put a backdrop image and scale it to the size of the
panel. How do I do this? I looked at some of the samples related to
bitmaps and I could not see how to apply that to my situation.
Thanks,
T.
2004 Jun 17
2
Re: win32 in Ruby
Hi Tim,
> --- Tim Sutherland <timsuth@ihug.co.nz> wrote:
> Date: Thu, 17 Jun 2004 14:55:06 +1200
>
> Okay. wxWidgets uses native widgets. It should have
> worked.
>
> What''s wxRuby like?
wxRuby is a cross-platform rapid development GUI
building framework. I find it very intuitive and easy to use.
Like it!
> I noticed that there are several
2008 Mar 05
21
wxruby, XRC, DialogBlock
I''ve been trying to figure out the best method for generating GUI''s with
Ruby. I ended up using DialogBlock because it seems like the fastest
way. But not I have to work backwards and have not done this before.
How do I go from the file I generate in DialogBlock to a code in Ruby?
--
Posted via http://www.ruby-forum.com/.
2007 Mar 17
2
newbie: listbook sample on fedora5
opens a basic frame (empty) with following errors
(wxruby:17165): Gtk-WARNING **: Attempting to add a widget with type
GtkPizza to a GtkWindow, but as a GtkBin subclass a GtkWindow can only
contain one widget at a time; it already contains a widget of type
GtkPizza
(wxruby:17165): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)'' failed
(wxruby:17165):
2007 Nov 02
11
xrcise tutorial, undefined method ''upper_bt''
Hi
I''m trying to follow the tutorial on xrcise at
http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise
But I keep getting the following error when I try to run the example;
tutorial.rb:21:in `initialize'': undefined method ''upper_bt'' for
#<CaseChangeFrame:0x2d610f8> (NoMethodError)
from tutorial.rb:28:in `new''
from
2007 Oct 16
1
Setting background color on a menu bar?
Thank you all for your help with my previous question.
Now I have a question on setting the background color
of a menu bar: can it be done?
I''ve experimented thus:
menuBar = Wx::MenuBar.new()
menuBar.set_background_color( Wx::WHITE )
But alas, it seems to have no effect.
(I''m using wxruby-1.9.0-i386-mswin32 with ruby 1.8.6)
Thanks much!
2011 Feb 23
13
SIL3114 and sparc solaris 10
Perhaps a bit off-topic (I asked on the rescue list --
http://web.archiveorange.com/archive/v/OaDWVGdLhxWVWIEabz4F -- and was
told to try here), but I am kinda shooting in the dark: I have been
finding online scattered and vague info stating that this card can be
made to work with a sparc solaris 10 box
(http://old.nabble.com/eSATA-or-firewire-in-Solaris-Sparc-system-td27150246.html
is the
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and
"etc/threaded.rb" to build my first wxApp.
I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to
"Wx::FlexGridSizer").
I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time
of writing it''s growing only vertically.
And also how to get