similar to: Hooking up wxRuby in other applications

Displaying 20 results from an estimated 1000 matches similar to: "Hooking up wxRuby in other applications"

2007 Nov 07
1
3 wxSugar questions
A bit new to wxRuby and have 2 questions regarding wxSugar: 1. I only find one sample application for wxSugar, but as I understand from the docs, wsSugar is the preferred approach. Are there any more wxSugar samples available somewhere? 2. When I run sugar-sample.rb, I get a couple of warnings: "listen is deprecated, use evt_xxx directly". Just wanted to check: Is this sample
2007 Nov 10
3
Anti-aliasing?
I''m doing a graphics application and need onscreen anti-aliasing for both lines and text. Seems like wxGraphicsContext would do that, is that planned to be ported to wxRuby? Best regards, Jari Williamsson
2007 Nov 13
3
SashWindowLayout design
Hello! I want a SashWindowLayout with 3 small panels (below each other) on the left side and the big remaining area to the right. All walls movable. The approach that I''ve used to get kind of the effect I wanted was to first add the right-side area (right-aligned), then add 2 other top-aligned panels. Which leaves the remaining area to the panel at the bottom left. I got a problem
2008 May 30
5
color management spec
As part of my GSoC project I have to work out a spec that covers how applications should communicate color management related properties between each other and the compositing manager. The main idea of the project is to let the compositing manager do the color management on behalf of the applications. But before that can happen, the applications have to tell the compositing manager how they want
2007 Nov 07
1
Wx::FileDialog and common dialogs
The documentation for Wx::FileDialog is incorrectly generated: http://wxruby.rubyforge.org/doc/filedialog.html Every time the ''*'' (for the wildcard character in file filters) appears, the doc instead switches between boldface and normal. Also, it seems like the links under "See also" are broken. Feature request: Regarding all modal common dialogs (ColourDialog,
2008 May 10
4
from RubyCocoa to wxRuby ?
hey all, thanks to alex who help me to get the latest running on my box ( Mac OS X 10.4.11) to get it working download the latest gem locally cd to the directory where it lies and : $ sudo gem install --local wxruby u''ll get : Successfully installed wxruby-1.9.7-universal-darwin-9 1 gem installed ;-) A question, my first test will be to convert a RubyCocoa project into wxRuby. this
2007 Nov 13
3
New wxTree method
Here''s my first try at a contribution to the wxRuby project: The tree control seemed to lack a more Ruby-ish way to add a bulk of items to a tree control (and to easily connect a data structure to a tree). Since tree view can be seen as an array of arrays, I simply added a method called append_array (see attached file). With it, you can add a full tree as simple as: --- root =
2006 Nov 15
1
compiz does not group windows
hello I am using compiz in fc6 and have this problem (tryed 0.3.2 and still have the same issue): When a window that have subwindows like gets minimized and I klick on it on the panels taskbar onle the subwindow shows up, but not the main window. I have to use alt+tab to open it. it also happens with floating buttonbars in openoffice so I add a list in openoffice it shows the bar with the
2005 Sep 27
5
WxRuby + Ruby/SDL
Hi, I am making a game with Ruby/SDL and have run into trouble finding a GUI to cooperate. I have seen numerous examples of wxWindows in combination with SDL (wxPython and PyGame), but have yet to be able to do it in ruby (PyGame example: http://wiki.wxpython.org/index.cgi/IntegratingPyGame). I am not very good with wxRuby as this is my first time using it and thought some more knowledgable users
2008 May 26
9
App#process_message
how can rewrite the App # process_message to treat the messages of the system? wxruby -- Posted via http://www.ruby-forum.com/.
2008 Aug 01
1
Question about Window#raise
I want to force my Frame to be visible under certain conditions, even if it''s currently behind other windows. I am running under Windows XP. I am calling raise to do this, but the Frame doesn''t come to the front, though the icon does alert. Isn''t this what Window#raise is supposed to do? Is this a Windows issue? Eric Rubin
2004 Jan 06
5
Another Updated - wxRuby Windows installeravailable for
Hmm everything installed fine but when I try to run the samples I get an error dialog stating: "rubyw.exe - unable to Locate Component This application has failed to start because MSVCRTD.dll was not found. Re-installing the application may fix this problem." Which unless you are supplying the debug microsoft dll''s, re-installing will have no effect :) This was on WinXP
2007 Mar 19
1
Application crashes when opening a graphics window under Wine
I am trying to run a Win32 application, Stable32, under wine. This application does analysis of numeric data files and can plot the data to the screen. When it does this, it opens a new window for the plot. Under wine, the application starts just fine and the basic functions seem to work, but every time I try to use one of the plot functions, the application crashes. This is the message it
2007 Nov 19
3
wxRuby textArea??
I want to know wxruby can make textArea like java?? I can only use textbox with it but it has problem when I must use text that has many line, it can''t new line please help me -- Posted via http://www.ruby-forum.com/.
2007 Nov 17
7
Using RSpec to drive the design of a GUI desktop application
Hello everybody, I''ve been using RSpec as a tool to create web applications for some time now, in Rails, and using plain Ruby with WEBrick as well. The tool suits my needs and the story runner is great. Now there are things that aren''t solvable on the web, you''ll need a _real_ desktop application for those problems. So I''ve toyed a bit around with various GUI
2007 Nov 15
0
Code for Listbox object bulk adding
Hello! Attached is a method to bulk add arrays to a list box, when the array isn''t a string array. Feel free to add it to wxSugar. Example: arr = [[Wx::RED, "Red"],[Wx::GREEN, "Green"],[Wx::BLUE, "Blue"]] listbox.insert_obj_items(arr, "[1]") ...would add 3 list box items with "Red"-"Green"-"Blue"
2007 Nov 18
2
Issues adding sub-menu items
Hello All, I''m new to the list and to Ruby. I was trying to use one of the examples as a skeleton for something that I''m working on. I''m currently stuck when it comes to adding another item to the sub-menus. I have a menu item by the name of "Tools" and I would like to add a sub-menu item called "Find Unique Fields" but it doesn''t show up
2020 Feb 12
5
[PATCH nbdkit 1/3] server: Rename global backend pointer to "top".
It's confusing to use the same terminology for a single backend as for the linked list of backends. In particular it's often not clear if we're calling the next backend or the whole chain of backends. --- server/internal.h | 14 ++++++++++-- server/connections.c | 20 ++++++++--------- server/locks.c | 2 +- server/main.c
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a window) and save to a file. I have this, but I have no idea where it came from, but it gives a corrupted image Paul # -*- ruby -*- # screen capture -- # This script runs with a Ruby/DL which is included in ruby-1.7. require ''dl/import'' module ScreenCapture extend DL::Importable dlload
2007 Sep 25
2
Bug in win32-api with void prototypes?
Hi all, It seems that a void prototype requires an explicit argument in our version of win32/api: C:\>irb irb(main):001:0> require ''win32/api'' => true irb(main):002:0> include Win32 => Object irb(main):003:0> require ''Win32API'' => true # Our version irb(main):004:0> GetLastErrorA = API.new(''GetLastError'',