search for: controlwithitem

Displaying 20 results from an estimated 38 matches for "controlwithitem".

Did you mean: controlwithitems
2006 Dec 01
0
[766] trunk/wxruby2: Added item_data aliases for client_data functions, update doc & tests;
...</dd> </dl> <h3>Log Message</h3> <pre>Added item_data aliases for client_data functions, update doc & tests; also extend and tidy treectrl item_data tests</pre> <h3>Modified Paths</h3> <ul> <li><a href="#trunkwxruby2doctextilecontrolwithitemstxtl">trunk/wxruby2/doc/textile/controlwithitems.txtl</a></li> <li><a href="#trunkwxruby2teststest_item_datarb">trunk/wxruby2/tests/test_item_data.rb</a></li> </ul> <h3>Added Paths</h3> <ul> <li><a href="#t...
2007 Apr 17
0
[970] branches/wxruby2/wxwidgets_282/doc/textile/controlwithitems.txtl: Fixed a few formatting and content errors.
...x 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>[970] branches/wxruby2/wxwidgets_282/doc/textile/controlwithitems.txtl: Fixed a few formatting and content errors.</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>970</dd> <dt>Author</dt> <dd>seanlong</dd> <dt>Date</dt> <dd>2007-04-17 18:00...
2010 Mar 16
0
[ wxruby-Bugs-27976 ] Wx::ControlWithItems.select behavior is diferent than the documentation
...d at 2010-03-16 11:51 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=27976&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Sean DeNigris (lotusone) Assigned to: Nobody (None) Summary: Wx::ControlWithItems.select behavior is diferent than the documentation Initial Comment: Doc (http://wxruby.rubyforge.org/doc/controlwithitems.html#ControlWithItems_select): >ControlWithItems#select > select(Integer n) >This is the same as set_selection and exists only because it is slightly more natural fo...
2007 Apr 02
0
[938] trunk/wxsugar/lib/wx_sugar/wx_classes: Enable enumerable_controls for ListCtrl and ControlWithItems family
...ecoration: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-04-02 14:48:45 -0400 (Mon, 02 Apr 2007)</dd> &...
2007 Apr 03
0
[942] trunk/wxsugar/lib/wx_sugar/wx_classes/listctrl.rb: Implement find_string method cognate with ControlWithItems
...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> <dd>2007-04-03 14:45:26 -0400 (Tue, 03 Apr 2007)</dd> </dl&...
2007 Jul 22
0
[1141] trunk/wxruby2/swig/mark_free_impl.i: ControlWithItems call default Window mark routine to preserve ToolTips etc
...n: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>[1141] trunk/wxruby2/swig/mark_free_impl.i: ControlWithItems call default Window mark routine to preserve ToolTips etc</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1141</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-...
2006 Nov 22
0
Patch to fix ControlWithItems problems
The latest head won''t compile for me. These patches fix get_client_data to return a value. Seems someone has been doing too much ruby lately. :) Roy -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ControlWithItems.patch Url: http://rubyforge.org/pipermail/wxruby-development/attachments/20061121/a74a3d37/attachment.ksh
2007 Jul 21
0
[1133] trunk/wxruby2/swig/shared/control_with_items.i: Move mark func for ControlWithItems into shared file so changes affect
...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>[1133] trunk/wxruby2/swig/shared/control_with_items.i: Move mark func for ControlWithItems into shared file so changes affect</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1133</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-07-21 11:50:04 -0400 (S...
2006 Aug 25
0
Patches to ComboBox and ControlWithItems
This patch fixes Append and Insert so they work with the void * argument. The typemap for this was fixed a long time ago, I guess these changes either never got uploaded by me or I hadn''t gotten to these. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Mar 31
0
[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method
...e the result of the query. - -h4. Return value - -The number of selections. - -h4. Remarks - -Use this with a multiple selection listbox. - </del><span class="cx"> h4. See also </span><span class="cx"> </span><span class="cx"> "ControlWithItems#get_selection":controlwithitems.html#ControlWithItems_getselection, "ControlWithItems#get_string_selection":controlwithitems.html#ControlWithItems_getstringselection, "ControlWithItems#set_selection":controlwithitems.html#ControlWithItems_setselection </span></spa...
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...h 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>[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>744</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2006-11-21 14:59:03 -0500 (Tue, 21 Nov 2006)&l...
2007 Apr 14
0
[966] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Fix methods which don''t need a ''n'' item for arrays in Ruby
...FAULT_VALIDATOR, </span><span class="cx"> %(arg-type)String% name = "listBox") </span><span class="cx"> </span><span class="lines">@@ -136,21 +137,15 @@ </span><span class="cx"> "ControlWithItems#get_selection":controlwithitems.html#ControlWithItems_getselection, "ControlWithItems#get_string_selection":controlwithitems.html#ControlWithItems_getstringselection, "ControlWithItems#set_selection":controlwithitems.html#ControlWithItems_setselection </span><span...
2006 Aug 30
5
include.zip
These are the files from the swig/classes/include directory. I hope the line endings don''t end up wrong. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Nov 12
1
TreeCtrl item_data
The attached fixes set_item_data, get_item_data and some other methods for the TreeCtrl so they work nicely with Ruby objects and GC. In C++ Wx TreeCtrl item_data works differently from client_data in classes derived from ControlWithItems (eg Choice, ListCtrl). A one-to-one mapping of the way TreeCtrl works would mean that you would have to derive a class from TreeItemData, and instantiate one of this container class each time you wanted to associate a Ruby object with a tree item. This seems very clumsy in Ruby, so I''...
2007 Aug 24
1
Choice append
Ciao Alex, Is it possible to enable the overloaded method ''ControlWithItems#append'' to be able to provide user data? to do this: ch = Wx::Choice.new() ch.append("pluto", 10) ch.append("pippo", 20) ch.append("paperino", 30) instead of this (the way i''ve found to get the same result): ch = Wx::Choice.new() id = ch.append...
2007 Apr 03
1
wxSugar 0.1.15 released
Hi WxSugar 0.1.15 is now available via gems and download from rubyforge. This is a minor feature release which adds a couple of new facilities: * enumerable_controls: treats ListCtrl and ControlWithItems classes, such as ComboBox, ListBox, CheckListBox as Ruby enumerables * adds Window#has_style? The former is meant to give much more rubyish access to the contents of GUI controls which present the user with a list of item to choose from: # basic iteration listbox.each { | i | puts listbox.stri...
2006 Oct 20
1
Good news on WxWidgets 2.8.0
...nt dragging etc. They seem to have brushed up the Mac version of AUI, and the sample had me drooling. The second is that it looks like it will be straightforward for wxRuby to target 2.8 (famous last words...). The changes are simple API changes, mainly to base classes like Window, Dialog and ControlWithItems. Just by fixing two lines in Window, I got about 80% of our current classes compiled. The remaining errors look easy enough that I could fix them, which is a good sign ;) 2.8.0 is meant to be out in a few weeks - I''m not planning to do anything real until then. My sense is that we wil...
2007 Apr 14
0
[965] branches/wxruby2/wxwidgets_282/doc/textile: Misc.
...t;dt>Date</dt> <dd>2007-04-14 03:09:13 -0400 (Sat, 14 Apr 2007)</dd> </dl> <h3>Log Message</h3> <pre>Misc. documentation fixes.</pre> <h3>Modified Paths</h3> <ul> <li><a href="#brancheswxruby2wxwidgets_282doctextilecontrolwithitemstxtl">branches/wxruby2/wxwidgets_282/doc/textile/controlwithitems.txtl</a></li> <li><a href="#brancheswxruby2wxwidgets_282doctextiledialogtxtl">branches/wxruby2/wxwidgets_282/doc/textile/dialog.txtl</a></li> <li><a href="#branchesw...
2007 Oct 23
3
CheckListBox : delete method bug !
Hi, I''ve practically finished a patch for removing the limitation of CheckListBox (http://rubyforge.org/pipermail/wxruby-development/2007-October/000973.html) but I just discovered a new bug related with this control !! I need to redefine the delete method to take into account the deletion of the associated data. The problem is that if I just redefine this method and simply call super,
2005 Aug 21
15
New inheritance
...i The caret example won''t work at all because initialize isn''t declared any longer. If you comment out the import lines, Swig does create an initialize. For ClientDC this fixes things so you can at least allocate one. Second case: Choice.i This is missing an %import for wxControlWithItems. However, if you add this, the constructor goes away. It''s too hot in my house with the air conditioner out for me to attempt to puzzle this out later. If cooler heads haven''t figured this out later I may revisit it. Roy