search for: dialogblocks

Displaying 20 results from an estimated 25 matches for "dialogblocks".

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/.
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 ap...
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, "")
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/.
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, respec...
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, &quot...
2004 Feb 20
0
wxWindows name change
...Julian Smart julian@anthemion.co.uk 3F1, 28 Gillespie Crescent, www.anthemion.co.uk Edinburgh, Midlothian, U.K., EH10 4HU +44 (0)131 229 5306 StoryLines: story structuring www.writerscafe.co.uk HelpBlocks: HTML help authoring www.helpblocks.com DialogBlocks: cross-platform dialogs www.anthemion.co.uk/dialogblocks ========================================================================= --------------------------------------------------------------------- To unsubscribe, e-mail: wx-dev-unsubscribe@lists.wxwindows.org For additional commands, e-ma...
2007 May 07
1
[ wxruby-Bugs-10662 ] ClientDC paint not being shown on OS X with 2.8
Bugs item #10662, was opened at 2007-05-07 19:55 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=10662&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 4 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: ClientDC paint not being shown on OS X with 2.8 Initial Comment:
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, using the one-click Ruby installer and the one-click WxRuby installer. In the initialize() method of my Wx::Frame subclass, I have...
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
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 w...
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
2006 Aug 12
5
Windows build?
I performed a get on the CVS WxRuby2; I have installed wxWidgets 2.6.3 and SWIG 1.3.29. Additionally I am running Visual Studio on Windows XP. When I run rake to compile I receive the following error. App.cpp c:\wxWidgets-2.6.3/include\wx/platform.h(190) : fatal error C1083: Cannot open include file: ''wx/setup.h'': No such file or directory rake aborted! Command failed with
2011 May 01
2
Image as a frame background
I have created a frame, and would like to set an image as it''s background. I am using DialogBlocks, and there is some sort of texture property where it appears like you can set an image as a packground. However, while it looks fine in the preview, when I compile everything, the image is not there? Is there any way to get this to work, or a way to put buttons and text over images? I am very new t...
2007 Dec 22
0
release plans
...On the SWIG side, there is a new version out (1.33) - the ChangeLog seems to have some ruby changes which could be useful for us, but I think it would be better to move to this version after the 1.9.3 release. I''ve just checked in a bunch of code to wxSugar that translates XRC (eg from DialogBlocks) into pure (wx)Ruby code. This is going to be integrated into xrcise - this approach has a lot of advantages over our current way of just scaffolding the XmlResource loader code. So we may be able to put a WxSugar release out first with this and Jari''s syntax enhancements. Anything I&...
2007 Oct 23
0
wxSugar 0.1.18
...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 need to load Dialogs, Frames and Panels from XRC (XML layouts), and will create ruby accessor methods for controls in those Frames, and extend controls with ruby modules. Then all that''s left to write is your event handling code - yo...
2007 Aug 02
1
RAD tool for OS X?
Hello everybody, I''ve been getting very impressed with the features of wxRuby. I was wondering... IS THERE ANY GRAPHIC ENVIRONMENT DEVELOPMENT TOOL FOR RUBY? Something like Boa Constructor for PYTHON or Glade? I was forgetting... I''m thinking for MACINTOSH OS X but! deploying for Windows and Mac. I Know I can use wxGlade and use the XML saved file to handle the events in
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):
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
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 c:/ruby/lib/ruby/...