search for: evt_erase_background

Displaying 7 results from an estimated 7 matches for "evt_erase_background".

2007 Jun 06
0
[1054] trunk/wxruby2: Add missing EraseEvent and mapping for EVT_ERASE_BACKGROUND, fix unknown
...ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1054] trunk/wxruby2: Add missing EraseEvent and mapping for EVT_ERASE_BACKGROUND, fix unknown</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1054</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-06-06 17:02:18 -0400 (Wed, 06 Jun 2007)</dd...
2009 Jan 13
5
set the background to a bitmap
Hi, any ideas whether you can set the background of a dialog to use an image? -- Posted via http://www.ruby-forum.com/.
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.
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...L_ENTER => Wx::CommandEvent, - Wx::EVT_COMMAND_SPINCTRL_UPDATED => Wx::CommandEvent, - Wx::EVT_COMMAND_COMBOBOX_SELECTED => Wx::CommandEvent, - Wx::EVT_COMMAND_TEXT_URL => Wx::TextUrlEvent, - Wx::EVT_IDLE => Wx::IdleEvent, - Wx::EVT_PAINT => Wx::PaintEvent, - Wx::EVT_ERASE_BACKGROUND => Wx::EraseEvent, - Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent, - Wx::EVT_SIZE => Wx::SizeEvent, - Wx::EVT_SIZING => Wx::SizeEvent, - Wx::EVT_MOVE => Wx::MoveEvent, - Wx::EVT_MOVING => Wx::MoveEvent, - Wx::EVT_TIMER => Wx::TimerEvent, - Wx::EVT_CHAR => Wx::...
2006 Oct 21
0
[697] trunk/wxruby2/samples/bigdemo: Fixed loading of other files so the sample can be run from another directory
...mp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-10-21 14:05:22 UTC (rev 697) </span><span class="lines">@@ -38,7 +38,9 @@ </span><span class="cx"> @bg_bmp = </span><span class="cx"> evt_erase_background {|event| on_erase_background(event)} </span><span class="cx"> end </span><del>- load "wxScrolledWindow.rbw" </del><ins>+ scrollwin_demo_file = File.join(File.dirname(__FILE__), + &q...
2006 Oct 21
0
[698] trunk/wxruby2/samples/bigdemo/MDIDemo.rbw: Removed broken background stuff to stop crash on OS X (tho still crashes
...</span><span class="cx"> evt_menu(5000) {|event| on_new_window(event)} </span><span class="cx"> evt_menu(5001) {|event| on_exit(event)} </span><del>- - if SHOW_BACKGROUND - @bg_bmp = - evt_erase_background {|event| on_erase_background(event)} - end </del><span class="cx"> scrollwin_demo_file = File.join(File.dirname(__FILE__), </span><span class="cx"> "wxScrolledWindow.rbw") </span><...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...ppend(view_menu, "View") + mb.append(@perspectives_menu, "Perspectives") + mb.append(options_menu, "Options") + mb.append(notebook_menu, "Notebook") + mb.append(help_menu, "Help") + + set_menu_bar(mb) + end + + def setup_events + evt_erase_background { | e | on_erase_background(e) } + evt_size{ | e | on_size(e) } + + evt_menu(ID_CreateTree) { | e | on_create_tree } + evt_menu(ID_CreateGrid) { | e | on_create_grid } + evt_menu(ID_CreateText) { | e | on_create_text } + evt_menu(ID_CreateHTML) { | e | on_create_html } + evt_me...