search for: evt_sizing

Displaying 14 results from an estimated 14 matches for "evt_sizing".

2004 Jun 11
9
Handling Events that don''t take an ID
Hey Kevin, Am I correct in assuming that if I want a particular widget to respond to an event which doesn''t take an ID as an argument (like evt_size or evt_left_down), that I have to inherit a new widget and define the event handler within the inherited class? Here''s a little contrived code example to illustrate what I mean: class MyCtrl < Wx::TextCtrl def
2007 May 31
0
[1040] trunk/wxruby2/swig/Events.i: Add List and Splitter constants, also EVT_SIZING and EVT_MOVING
...und:#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>[1040] trunk/wxruby2/swig/Events.i: Add List and Splitter constants, also EVT_SIZING and EVT_MOVING</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1040</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-31 17:14:53 -0400 (Thu, 31 May 2007)</...
2007 Sep 10
2
syntax II
Hi Given the warm response to the syntax additions in 1.9.1 I''m considering moving one or two more syntax extensions into core, and would like your thoughts. Last ones, I promise. Realise we don''t want much more API change now, but also we''ll probably also have to live with whatever we settle on for 2.0 for a little while, so... 1) Setting up event handlers In
2007 Jun 28
0
[1091] trunk/wxruby2/lib/wx/classes/evthandler.rb: Add interim event type mappings for a few obscure oddities
...t], </span><span class="cx"> EventType[''evt_size'', 0, </span><span class="cx"> Wx::EVT_SIZE, </span><span class="cx"> Wx::SizeEvent], </span><ins>+ EventType[''evt_sizing'', 0, + Wx::EVT_SIZING, + Wx::SizeEvent], </ins><span class="cx"> EventType[''evt_slider'', 1, </span><span class="cx"> Wx::EVT_COMMAND_SLIDER_UPDATED, </span><span class=&quot...
2007 Jun 06
0
[1054] trunk/wxruby2: Add missing EraseEvent and mapping for EVT_ERASE_BACKGROUND, fix unknown
...><ins>+ Wx::EVT_ERASE_BACKGROUND => Wx::EraseEvent, </ins><span class="cx"> Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent, </span><span class="cx"> Wx::EVT_SIZE => Wx::SizeEvent, </span><span class="cx"> Wx::EVT_SIZING => Wx::SizeEvent, </span></span></pre></div> <a id="trunkwxruby2swigclassesEraseEventi"></a> <div class="addfile"><h4>Added: trunk/wxruby2/swig/classes/EraseEvent.i (0 => 1054)</h4> <pre class="diff">&lt...
2007 Sep 17
7
Re : syntax II
Alex Fenton wrote : >1) Setting up event handlers > >In most real apps, I think the most normal way to set up event handlers >is for the event to be dealt with by a corresponding method. At the >moment this has to be done using a block: > >evt_button(AN_ID) { on_button_click } >evt_button(my_button.get_id) do | event | > on_button_click(event) >end >evt_size { |
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys, I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl will not resize horizontally no matter what I''m doing. I''ve attached a sample code below. Any help will be greatly appreciated, as I really like wxRuby :) I''ve also tried to copy from the example from listtest.rbw, but that also doesn''t seem to work. Another thing
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...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::KeyEvent, - Wx::EVT_CHAR_HOOK => Wx::KeyEvent, - Wx::EVT_KEY_DOWN => Wx::KeyEvent, - Wx::EVT_KEY_UP => Wx::KeyE...
2009 Dec 12
4
grid et boxsizer
Bonjour. Une fois mon application ouverte, je voudrais savoir, si cela est possible, comment dimensionner automatiquement la totalité des colonnes du grid à la taille de mon boxsizer, quand je change la taille de mon application? (puique mon grid est inséré dans mon boxsizer). merci
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
<!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 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...Event, + 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_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::KeyEvent, + Wx::EVT_CHAR_HOOK => Wx::KeyEvent, + Wx::EVT_KEY_DOWN => Wx::KeyEvent, + Wx::EVT_KEY_UP => Wx::KeyE...
2007 Jan 09
6
help w/push_event_handler plus doc update request
Hi, 1) Can the online api docs get updated? Specifically can the overview pages get added in to the main http://wxruby.rubyforge.org/doc/ index.html page? I happened upon the link to the Event Overview page while browsing some class and wished that it had been listed in the Event section of the index page.I don''t know how many other "overview" pages there are but it
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
<!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 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
<!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: