Displaying 5 results from an estimated 5 matches for "is_selection".
Did you mean:
_selection
2007 Sep 20
7
Troubles with ListBox and CheckListBox events
...my_checklist or my_list,
the on_listbox is called and displays :
- the index (through event.selection) and the text (through
event.string) of the item both when the item is selected AND when the
item is unselected.
- one can know if an item is actually selected through the
event.selection? (or is_selection) call.
This is fine and this is what I expect but the wxRuby documentation
states that :
"CommandEvent#get_selection
Integer get_selection()
Returns item index for a listbox or choice selection event (not valid
for a deselection).
CommandEvent#get_string
String get_string()
Returns item stri...
2007 Feb 12
0
[861] trunk/wxruby2/doc/textile/grid.txtl: Added missing methods listing section
...dit_control_enabled":#Grid_iscelleditcontrolenabled
+* "Grid#is_current_cell_read_only":#Grid_iscurrentcellreadonly
+* "Grid#is_editable":#Grid_iseditable
+* "Grid#is_in_selection":#Grid_isinselection
+* "Grid#is_read_only":#Grid_isreadonly
+* "Grid#is_selection":#Grid_isselection
+* "Grid#is_visible":#Grid_isvisible
+* "Grid#make_cell_visible":#Grid_makecellvisible
+* "Grid#move_cursor_down":#Grid_movecursordown
+* "Grid#move_cursor_left":#Grid_movecursorleft
+* "Grid#move_cursor_right":#Grid_movecurs...
2007 Mar 30
0
[931] branches/wxruby2/wxwidgets_282/doc/textile/treectrl.txtl: Added insert_item_before documentation.
<!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:
2006 Nov 23
0
[754] trunk/wxruby2/samples/bigdemo: Rubified samples and added in missing client data sample code
...span class="cx"> def on_evt_listbox(event)
</span><del>- @log.write_text("evt_listbox: " + event.get_string() + " " + event.get_selection().to_s())
</del><ins>+ @log.write_text("evt_listbox: #{event.get_string}, #{event.is_selection}, #{event.get_selection}, #{event.get_client_data}")
</ins><span class="cx"> end
</span><span class="cx">
</span><span class="cx"> def on_evt_listbox_dclick(event)
</span><del>- @log.write_text(&q...
2007 Apr 13
0
[956] branches/wxruby2/wxwidgets_282: Additions to TreeCtrl API 2.6->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: