similar to: Setting background color on a menu bar?

Displaying 20 results from an estimated 9000 matches similar to: "Setting background color on a menu bar?"

2007 Oct 13
3
Newbie can''t get sample/etc/wizard.rb to work
Hello, I''ve downloaded wxruby onto windows (ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]). All samples are working fine, except for wizard.rb, which gets: C:/Program Files/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.1-i386-mswin32/lib/wx/keyword_ctors.rb:201:in `initialize'': Error initializing #<Wx::Wizard:0x2f3fed8> (ArgumentError) Sent parameters:
2007 Oct 24
3
API doc update coming?
I''ve upgraded from 1.9.0 to 1.9.2 and am finding that the errors I''m getting don''t match the docs. For example, in Wx::ListCtrl: - The doc makes no mention of on_get_item_column_image(), but without this method I get NoMethodError. - The doc says on_get_item_attr() *may* be overloaded, but if I don''t define it, I get NoMethodError. The API doc appears to
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 Nov 09
6
Wx::Notebook tabs, bug reports on...
Thank you Alex for the answer to my previous question -- it was exactly what I was looking for! Moving on, I have some bugs to report: I''m using the Wx::Notebook class and it looks to me like Wx::NB_LEFT, Wx::NB_RIGHT, and Wx::NB_BOTTOM are defined incorrectly. To get my tabs to appear on the bottom, for example, I find I have to use Wx::NB_LEFT. Same symptom in
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 May 22
0
[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction
<!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:
2006 Oct 21
0
[698] trunk/wxruby2/samples/bigdemo/MDIDemo.rbw: Removed broken background stuff to stop crash on OS X (tho still crashes
<!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:
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
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
<!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:
2007 Nov 08
1
Why don''t my tabs look as nice as theirs?
Hello again, I''m running my WxRuby scripts on Windows XP. I am new at GUI coding. Here''s what I don''t understand: why my WxRuby notebook tabs don''t look like notebook tabs in other apps running on the same machine. I''ve attached two little examples. The first (mine.gif) shows what I get with WxRuby. The second (theirs.gif) is from a typical app
2007 Oct 17
1
what''s a ListCtrlCompare ?
Hello all, The doc for Wx::ListCtrl#sort_items says the method takes a ListCtrlCompare. I''ve searched high and low, and I can''t find any description of such an object. Is there sample code somewhere in which an LC_REPORT style ListCtrl offers sorting by column? That''s really all I''m trying to do, and if I could see it done I''m sure it would all make
2008 May 20
0
[ wxruby-Bugs-20255 ] Instabilities on Linux - 1.9.7
Bugs item #20255, was opened at 2008-05-20 08:10 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20255&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: Instabilities on Linux - 1.9.7 Initial Comment: Segfaults after
2008 Jan 04
2
problem with Menu.append_check_item()
Menu.append_check_item(), like Menu.append(), is supposed to return a reference to the created menu item. Here is a test code which seems to show that this behavior works for append(), but fails for append_check_item(). This is the output I get: % ruby test-menu.rb #<Wx::MenuItem:0xb74c036c> nil Am I missing something or is this a bug? Both menu items are created and work as expected. I
2007 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
<!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:
2004 Apr 23
11
Building wxruby-swig for Mac
0.0.5 sure gets the Mac build a lot further. There''s a bug in the wxMac-2.4.2 distribution that I''m running into: wx-config wants to invoke a program in the source directory at link time. That''s ugly in itself, but it tries to use a variable ${top_srcdir} to accomplish this, and it''s apparently empty. It tries to invoke
2008 May 11
2
instabilities in wxRuby 1.9.6
I have recently started to use wxRuby, because I have used the wxWidgets library from C++ for a few years and found it an excellent toolkit. I am using Ubuntu 8.04 and version 1.9.6 of wxRuby. A problem though is a number of instabilities. This may be due to my own ignorance, but I have usually found C++/wxWidgets, once the program compiles it will at least stay working, if at times
2005 Apr 14
2
Menu issues with WeatherScope
Hi all, In my continuing efforts to get Weatherscope working in wine, I've noticed an issue with the menubar. (WeatherScope is available here: http://sdg.ocs.ou.edu/builds/final/win/WeatherScope/WeatherScope-1.2.1.exe) Specifically, the menubar is not normally visible while running under Wine. I am still able to access the menus by clicking on them, but I have to guess as to their position.
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
<!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:
2004 Aug 25
7
problem subclassing Wx::Menu
Hi folks I''m trying to make a class to make Wx::Menu easier for me to use and hide the constants and event-binding complexity. I''ve created a subclass of Wx::Menu, but whether I create my own append() method and call super(), or create a differently-named method and called append() from it, it seems to segfault. Sample attached, see line 20. Am I doing something stupid?
2007 Jul 21
0
[1135] trunk/wxruby2/swig/mark_free_impl.i: Convert from DOS to Unix newlines
<!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: