search for: event_connector

Displaying 8 results from an estimated 8 matches for "event_connector".

2006 Dec 03
0
[773] trunk/wxsugar/lib/wx_sugar/all.rb: Updated overview, deprecated itemdata
...an><del>-# [accessors.rb] </del><ins>+# [accessors] </ins><span class="cx"> # Provide ruby-style getters, setters and question-mark methods </span><del>-# [delayed_constructors.rb] -# For use with +layout+, limited independent interest -# [event_connector.rb] </del><ins>+# [delayed_constructors] +# Required by +layout+, of limited independent interest +# [event_connector] </ins><span class="cx"> # Neater syntax for connecting event listeners </span><del>-# [itemdata.rb] -# Associate ruby objects w...
2006 Oct 21
3
wxsugar question
I''ve only had the briefest play with wxSugar and already I like it a lot. One small question - have you considered some more ''convention over configuration'' like they do in rails, in particular for event connectors? So instead of listen(:button, my_button, my_button_pressed) you can leave it out entirely and rely on the convention that a button has a _pressed
2007 Mar 22
0
[912] trunk/wxsugar/lib: Overview documentation moved to lib/wx_sugar.rb
...you require one of these extensions, it modifies the behaviour -# of all relevant Wx classes, and affects all new instances. -# -# [accessors] -# Provide ruby-style getters, setters and question-mark methods -# [delayed_constructors] -# Required by +layout+, of limited independent interest -# [event_connector] -# Neater syntax for connecting event listeners -# [keyword_constructors] -# Use keyword-style hash arguments to construct widgets -# [layout] -# Easy interface to using WxWidgets Sizers to arrange controls -# [menu] -# Create and update menus without a mess of system ids -# [wx_classes] -...
2007 Sep 10
2
syntax II
...od''s event signature. If an event handler requires a wx window id to identify which widget''s events are being listened for (as with CommandEvents like evt_button), it''s assumed that if a Wx::Window is passed, we want its id. Code that does this is already in wxSugar - event_connector, but I think it would be better to build on the existing evt_xxx syntax than introduce a new syntax. This doesn''t break backward compatibility, and isn''t "magic". 2) ''each'' for list-like classes This one I''m less bothered about, but I fair...
2006 Nov 28
2
(no subject)
...) style (Fixnum) id (Fixnum) pos (Wxruby2::Point) size (Wxruby2::Size) style (Fixnum) min (Fixnum) max (Fixnum) initial (Fixnum) method initialize in keyword_constructors.rb at line 246 method initialize in date_picker.rb at line 19 method initialize in main_window.rb at line 9 method listen in event_connector.rb at line 125 at top level in - at line 16 Ruby version: ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0] The SpinCtrl is working fine in the e.g. Big Demo, and other types of controls can be added in this particular dialog fine. Anyone got any ideas as to what might be going wrong? Thanks, Al...
2007 Apr 03
0
[945] trunk/wxsugar/lib/wx_sugar.rb: Add note about enumerable_controls, reorder list of extensions
...setters and question-mark methods </span><del>-# [delayed_constructors] -# Required by +layout+, of limited independent interest </del><ins>+# [keyword_constructors] +# Use keyword-style hash arguments to construct widgets </ins><span class="cx"> # [event_connector] </span><span class="cx"> # Neater syntax for connecting event listeners </span><del>-# [keyword_constructors] -# Use keyword-style hash arguments to construct widgets </del><span class="cx"> # [layout] </span><span class="c...
2006 Sep 07
2
A little bit of sugar
Hi Do a search on ''wxruby'' and you''ll see that people''s main gripes are 1) stability 2) development progress 3) documentation and 4) syntax. We''re making great progress on 1-3 so thought it seemed like a good time to start looking at 4). So here''s announcing a first release of WxSugar. It can be downloaded via gems (gem install wx_sugar)
2006 Nov 29
5
wxSugar control problem
...Size) style (Fixnum) id (Fixnum) pos (Wxruby2::Point) size (Wxruby2::Size) style (Fixnum) min (Fixnum) max (Fixnum) initial (Fixnum) method initialize in keyword_constructors.rb at line 238 method initialize in date_picker.rb at line 9 method initialize in main_window.rb at line 9 method listen in event_connector.rb at line 125 at top level in - at line 16 Ruby version: ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0] The SpinCtrl is working fine in the Big Demo, and other types of controls can be added in this particular dialog fine. I have tried hacking around in keyword_constructors.rb - my idea was...