search for: wx_classes

Displaying 16 results from an estimated 16 matches for "wx_classes".

Did you mean: max_classes
2007 Mar 22
0
[911] trunk/wxsugar/lib/wx_sugar/wx_classes: Added default? method for size and position
...#ccc;margin:10px 0;} #patch 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>[911] trunk/wxsugar/lib/wx_sugar/wx_classes: Added default? method for size and position</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>911</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-03-22 05:26:31...
2007 Apr 02
0
[938] trunk/wxsugar/lib/wx_sugar/wx_classes: Enable enumerable_controls for ListCtrl and ControlWithItems family
...#ccc;margin:10px 0;} #patch 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>[938] trunk/wxsugar/lib/wx_sugar/wx_classes: Enable enumerable_controls for ListCtrl and ControlWithItems family</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>938</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd...
2007 Jan 08
0
[842] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Fix for TreeItemIds as Integers
...#ccc;margin:10px 0;} #patch 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>[842] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Fix for TreeItemIds as Integers</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>842</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-08 15:34:42...
2006 Dec 21
0
[793] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Moved traverse method in wxSugar
...#ccc;margin:10px 0;} #patch 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>[793] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Moved traverse method in wxSugar</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>793</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2006-12-20 19:09:12...
2006 Dec 30
0
[812] trunk/wxsugar/lib/wx_sugar/wx_classes/window.rb: Added find_window and descendants methods
...#ccc;margin:10px 0;} #patch 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>[812] trunk/wxsugar/lib/wx_sugar/wx_classes/window.rb: Added find_window and descendants methods</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>812</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2006-12-30 1...
2007 Apr 03
0
[944] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Fix bug with endless recursion on not-found items in find_string
...#ccc;margin:10px 0;} #patch 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>[944] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Fix bug with endless recursion on not-found items in find_string</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>944</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt&g...
2007 Apr 03
0
[942] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Implement find_string method cognate with ControlWithItems
...#ccc;margin:10px 0;} #patch 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>[942] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Implement find_string method cognate with ControlWithItems</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>942</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> &lt...
2007 Apr 02
0
[939] trunk/wxsugar/lib/wx_sugar/wx_classes/window.rb: Add has_style? method, allow find_window to work even if C++ method
...#ccc;margin:10px 0;} #patch 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>[939] trunk/wxsugar/lib/wx_sugar/wx_classes/window.rb: Add has_style? method, allow find_window to work even if C++ method</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>939</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt&...
2007 Apr 02
0
[940] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Align #traverse usage with #each in enumerable_controls.rb
...#ccc;margin:10px 0;} #patch 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>[940] trunk/wxsugar/lib/wx_sugar/wx_classes/treectrl.rb: Align #traverse usage with #each in enumerable_controls.rb</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>940</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> &lt...
2007 Jun 28
0
[1095] trunk/wxruby2: Remove useless methods from Wx::Object and add wx_class method for info; document
<!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 Sep 20
3
Bug? in wxSugar enumerable_controls.rb
Hi, I wanted to use wxSugar enumerable features to add a method for returning checked items'' index to the CheckListBox class : require ''wx_sugar/version'' require ''wx_sugar/wx_classes/control_with_items'' require ''wx_sugar/wx_classes/listctrl'' class Wx::CheckListBox def checked_items # use of find_all method from Enumerable items_index = find_all { |i| checked?(i) } end end The problem I had is that checked_items raises an exception. In...
2004 May 13
1
Ruby-style attribute accessors
...ree.set_font font" becomes "tree.font = font" I think I might prefer this style too. To see what this syntax looks like, you can fake it in Ruby fairly easily. Try the following (not extensively tested) just after you do "require ''wxruby''" cheers alex wx_classes = Wx::constants.map { | c | Wx::const_get(c) }.grep(Class) wx_classes.each do | klass | klass.instance_methods.grep(/^([gs]et|evt)_/).each do | meth | if meth =~ /^get_(\w+)$/ klass.class_eval("alias :#{$1} :#{meth}") elsif meth =~ /^set_(\w+)$/ klass.class_eva...
2007 Mar 22
0
[912] trunk/wxsugar/lib: Overview documentation moved to lib/wx_sugar.rb
...ent_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] -# Useful ruby methods added to individual Wx classes. -# -# === Deprecated extensions -# -# This module is deprecated and will soon be removed. -# -# [itemdata.rb] -# Linking ruby objects with wx controls; use the -# get/set_item_data methods in core wxruby2 instead. - - </del><span...
2007 Apr 03
0
[945] trunk/wxsugar/lib/wx_sugar.rb: Add note about enumerable_controls, reorder list of extensions
...pan><del>-# [keyword_constructors] -# Use keyword-style hash arguments to construct widgets </del><span class="cx"> # [layout] </span><span class="cx"> # Easy interface to using WxWidgets Sizers to arrange controls </span><ins>+# [wx_classes] +# Useful ruby methods added to individual Wx classes. </ins><span class="cx"> # [menu] </span><span class="cx"> # Create and update menus without a mess of system ids </span><del>-# [wx_classes] -# Useful ruby methods added to individual...
2006 Dec 03
0
[773] trunk/wxsugar/lib/wx_sugar/all.rb: Updated overview, deprecated itemdata
...# Easy interface to using WxWidgets Sizers -# [menu.rb] </del><ins>+# [layout] +# Easy interface to using WxWidgets Sizers to arrange controls +# [menu] </ins><span class="cx"> # Create and update menus without a mess of system ids </span><ins>+# [wx_classes] +# Useful ruby methods added to individual Wx classes. +# +# === Deprecated extensions +# +# This module is deprecated and will soon be removed. +# +# [itemdata.rb] +# Linking ruby objects with wx controls; use the +# get/set_item_data methods in core wxruby2 instead. </ins><span clas...
2008 Jan 08
28
1.9.3 release, rakefile
Hi I''d like to put out a 1.9.3 release perhaps later this week/weekend. If you have a chance to test the build and samples esp with latest rubygems, please do. There are still some bugs on the list, and samples to do, but this should address all the build/install probs that have come up. And it would be good to get some testing and feedback on some of the new classes. A note on the