Displaying 20 results from an estimated 37 matches for "get_selections".
Did you mean:
get_selection
2007 Mar 31
0
[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method
...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>[935] branches/wxruby2/wxwidgets_282/doc/textile/listbox.txtl: Correct method signature of Listbox#get_selections method</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>935</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-03-31 11:32:49 -0400 (Sat, 31 Mar 2007)</dd>
&l...
2006 Nov 24
0
[757] trunk/wxruby2/samples/bigdemo/wxListBox.rbw: Made presentation of results of ListBox.get_selections clearer
...oration: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>[757] trunk/wxruby2/samples/bigdemo/wxListBox.rbw: Made presentation of results of ListBox.get_selections clearer</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>757</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2006-11-24 12:17:52 -0500 (Fri, 24 Nov 2006)</dd>
&...
2006 Sep 21
9
problem with TextCtrl#get_insertion_point
I''m trying to un-ignore TextCtrl#get_selection. The typemaps work fine,
but in the process it breaks get_insertion_point.
This is because (on Mac, tho not GTK), get_insertion_point calls
get_selection internally and simply returns the first value. I think the
return value is being converted from a long to a ruby int twice, because
when get_selection is wrapped, it works fine but the
2006 Nov 21
0
[ wxruby-Bugs-6810 ] Wx::ListBox.get_selections does not return selected items
...:21
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=6810&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Alex Fenton (brokentoy)
Assigned to: Kevin Smith (qualitycode)
Summary: Wx::ListBox.get_selections does not return selected items
Initial Comment:
Wx::ListBox.get_selections should return an array containing the Integer positions of all the selected items. It is only useful when the widget has been created with the LB_MULTIPLE style.
However, at present, it returns the number of selected items...
2007 Sep 20
7
Troubles with ListBox and CheckListBox events
Hi all,
Here is an excerpt of code (with the new syntax from upcoming wxRuby 1.9.2) :
evt_checklistbox(my_checklist, :on_checklistbox)
evt_listbox(my_checklist, :on_listbox)
evt_listbox(my_list, :on_listbox)
def on_checklistbox(event)
checklist = event.event_object
# puts "listbox - event : item[#{event.int}] checked : #{event.checked?}"
puts "listbox -
2006 Nov 23
0
[752] trunk/wxruby2: Fix for Bug #6810: ListBox#get_selections should return an array of selections
...px 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>[752] trunk/wxruby2: Fix for Bug #6810: ListBox#get_selections should return an array of selections</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>752</dd>
<dt>Author</dt> <dd>roys</dd>
<dt>Date</dt> <dd>2006-11-23 00:58:43 -0500 (Thu, 2...
2006 Nov 23
0
[754] trunk/wxruby2/samples/bigdemo: Rubified samples and added in missing client data sample code
...e(@lb1.get_selection)
</ins><span class="cx"> end
</span><span class="cx">
</span><span class="cx"> def on_evt_multi_listbox(event)
</span><del>- @log.write_text("evt_multi_listbox: (" + @lb2.get_selections().to_s() + ")")
</del><ins>+ @log.write_text("evt_multi_listbox: (" + @lb2.get_selections.to_s + ")")
</ins><span class="cx"> end
</span><span class="cx">
</span><span class="cx"...
2006 Nov 24
0
[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i
...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>[756] trunk/wxruby2/swig: Moved one-shot typemaps for ListBox.get_selections into ListBox.i</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>756</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2006-11-24 12:17:06 -0500 (Fri, 24 Nov 2006)</d...
2006 Mar 12
1
What''s the correct way to use ":with" with link_to_remote?
I''m using Rails 1.0, and I''m trying to setup a link_to_remote which
takes as a parameter a value computed in javascript. In order to
accomplish this I''m using this command:
<%= link_to_remote(''TouchUp'', :update => ''touchup_section'', :url =>
{:action => ''touchup'', :id => @article}, :with =>
2006 Sep 14
1
wxChoicebook
wxChoicebook.rbw + patch file to bigdemo.rb
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Mar 07
9
copy & paste event
hi. now I have problem about copy and paste text in my application I
make copy and paste button in toolbar and I have fuction of them but I
don''t know how to make it can copy only selection text and paste into
other textCtrl. see my picture for more info. thank you :)
Attachments:
http://www.ruby-forum.com/attachment/1526/untitled.JPG
--
Posted via http://www.ruby-forum.com/.
2004 May 22
4
couple of questions
Hi folks
A couple of questions:
1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox
and ListBox when the MDI child frame containing it is first painted (see
attached - it should be two-root treeview, unopened). I''m not sure if
it''s related to being in a MDI, but the controls sample looks OK. The
artifacts are cleared up when it''s repainted or
2007 Mar 29
7
object-oriented GUI design and event handling
I''m trying to setup a fairly simple GUI with Ruby to perform some SQL
queries. There are a few drop-down boxes where users can select
different options and then one button that when clicked should get the
text from each drop-down in order to perform the query. Once it gets the
result it should display it to a text control. The problem is I am not
sure how to actually reference each
2006 Nov 23
2
to_s
I was toying around with adding a to_s function to wxPoint (and probably
to some other classes). I''m wondering if this is a good idea or not and
if so, is it best to use %extend or put it into something like wxSugar
or the ruby parts of wx?
My initial implementation is:
%extend wxPoint {
VALUE to_s()
{
char buffer[40];
sprintf(buffer, "%d,%d", self->x,
2007 Jul 05
8
when can publish the next version?
when can publish the next version?
i am waiting...
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb
1) Message box scrolls properly now
2) Blank lines are skipped when adding pizzas and ice cream
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Jun 23
1
some wxruby questions
so I''ve been using wxruby for a bit, and I have some questions. Before
I start, I do want to say, that I am really liking wxruby, these
questions are a result if really putting it through it''s paces.
1) how do you assign accelerator keys?
this kind of works if I add a menu item like "&New\tCtrl-N", but this
only works for commands in the menu, and for some
2007 May 07
0
[1017] trunk/wxruby2/Changelog: Update changelog with 0.0.40 changes
...reeItemId mapping (AF)
+- 2.8 API : Image, Icon, Grid, Gauge,
+- Change over all classes in 2.8 that now use is_ok rather than ok, samples (AF)
+- Rename SplitterWindow#initialize to #init for consistency (SL)
+- Cure a segfault on exit related to GC''ing of Wx::App (AF)
+- Correct ListBox#get_selections signature in docs (AF)
+- Disambiguate TreeCtrl#insert_item_before, add to docs (SL)
+- Fix bugs in treectrl sample (SL)
+- 2.8 API: DC, Dialog, DirDialog, Cursor (AF)
+- Enable get_number_from_user function, fixing dialogs sample (AF)
+- Added the AUI classes, docs and sample (AF)
+- Corrected dis...
2007 Apr 13
0
[956] branches/wxruby2/wxwidgets_282: Additions to TreeCtrl API 2.6->2.8
...an><span class="cx"> "TreeItemId":treeitemid.html *get_root_item*()
</span><span class="lines">@@ -683,7 +730,7 @@
</span><span class="cx">
</span><span class="cx"> h3(#TreeCtrl_getselections). TreeCtrl#get_selections
</span><span class="cx">
</span><del>- size_t *get_selections*(%(arg-type)ArrayTreeItemIds% selection)
</del><ins>+ unsigned int *get_selections*(%(arg-type)ArrayTreeItemIds% selection)
</ins><span class="cx">
</span><sp...
2007 Mar 21
0
[906] branches/wxruby2/wxwidgets_282: Wx::ComboBox API 2.6 -> 2.8, plus some doc corrections
<!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: