search for: is_ok

Displaying 20 results from an estimated 34 matches for "is_ok".

Did you mean: es_ok
2007 May 04
0
[1006] trunk/wxruby2/samples/bigdemo/wxArtProvider.rbw: ok method name changed to is_ok
...;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>[1006] trunk/wxruby2/samples/bigdemo/wxArtProvider.rbw: ok method name changed to is_ok</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1006</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-04 16:04:49 -0400 (Fri, 04 May 2007)</dd> </dl&...
2007 May 04
0
[1009] trunk/wxruby2/samples/treectrl/treectrl.rb: ok method name changed to is_ok
...:#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>[1009] trunk/wxruby2/samples/treectrl/treectrl.rb: ok method name changed to is_ok</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1009</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-04 19:38:36 -0400 (Fri, 04 May 2007)</dd> </dl&...
2007 Mar 29
0
[930] branches/wxruby2/wxwidgets_282/samples/controls/controls.rb: ok -> is_ok method rename
...d:#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>[930] branches/wxruby2/wxwidgets_282/samples/controls/controls.rb: ok -> is_ok method rename</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>930</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-03-29 18:45:30 -0400 (Thu, 29 Mar 2007)</dd...
2007 May 04
0
[1008] trunk/wxruby2/samples/controls/get_item_sample.rb: ok method name changed to is_ok
...ext-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>[1008] trunk/wxruby2/samples/controls/get_item_sample.rb: ok method name changed to is_ok</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1008</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-04 19:38:03 -0400 (Fri, 04 May 2007)</dd> </dl&...
2007 May 04
0
[1010] trunk/wxruby2: PrintPreview ok method name changed to is_ok, update sample
...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>[1010] trunk/wxruby2: PrintPreview ok method name changed to is_ok, update sample</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1010</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-04 19:43:10 -0400 (Fri, 04 May 2007)</...
2007 Apr 13
0
[955] branches/wxruby2/wxwidgets_282/swig/classes/include/wxIcon.h: Change Icon.ok to Icon.is_ok (2.8)
...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>[955] branches/wxruby2/wxwidgets_282/swig/classes/include/wxIcon.h: Change Icon.ok to Icon.is_ok (2.8)</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>955</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-04-13 15:16:19 -0400 (Fri, 13 Apr 2007)</dd> &lt...
2006 Apr 19
1
Rubyfication of wxWindows
...; Should we also keep ''ok''? Another example: wxCaret::IsOk *bool* *IsOk*() *const* Returns true if the caret was created successfully. One possibly ''correct'' Ruby way to do this, also, is: ''ok?'' Should we also have an ''is_ok?'' How about ''is_ok''? There are quite a number of IsXxxx functions. Roy
2007 Jan 05
0
[832] trunk/wxruby2/samples: Fix samples for TreeItemIds as integers, fix image size in treectrl sample
...lass="lines">@@ -393,7 +393,7 @@ </span><span class="cx"> </span><span class="cx"> def on_tree_sel_changed(event) </span><span class="cx"> item = event.get_item() </span><del>- if item.is_ok </del><ins>+ if item.nonzero? </ins><span class="cx"> itemText = @tree.get_item_text(item) </span><span class="cx"> run_demo(itemText) </span><span class="cx"> end </span></span...
2007 Mar 17
5
Fix for crash at exit
Hi This is a very small patch that seems to solve that "Exit the app and get a segfault in return" problem. Another thing: bigdemo.rb:395 does item = event.get_item() if item.is_ok but get_item typemaps TreeItemId into a plain integer, so it doesn''t have is_ok method anymore, is there any wxruby2''yish solution to this kind of problem ? A.K. In case attachment gets scrubbed somewhere along the way: Index: fixdeleting.rb ===================================...
2006 Aug 18
10
TreeCtrl update
...id,cookie| puts "Name: #{tree_ctrl.get_item_text(node_id)}\t\tCookie: #{cookie}" end def traverse_tree(tree_ctrl,root_node,cookie=0,&block) if cookie == 0 ret = tree_ctrl.get_first_child(root_node) else ret = tree_ctrl.get_next_child(root_node,cookie) end if ret[0].is_ok if block_given? yield(ret[0],ret[1]) end traverse_tree(tree_ctrl,ret[0],0,&block) end ret_sib = tree_ctrl.get_next_sibling(root_node) if ret_sib.is_ok if block_given? yield(ret_sib,cookie) end traverse_tree(tree_ctrl,ret_sib,0,&block) end end...
2007 May 04
0
[1011] trunk/wxruby2/doc/textile/printpreview.txtl: Update docs for PrintPreview ok
...#get_printout":#PrintPreview_getprintout </span><span class="cx"> * "PrintPreview#get_printout_for_printing":#PrintPreview_getprintoutforprinting </span><del>-* "PrintPreview#ok":#PrintPreview_ok </del><ins>+* "PrintPreview#is_ok":#PrintPreview_ok </ins><span class="cx"> * "PrintPreview#paint_page":#PrintPreview_paintpage </span><span class="cx"> * "PrintPreview#print":#PrintPreview_print </span><span class="cx"> * "PrintPreview#...
2008 Aug 24
2
Missing ids in documentation
...rush.html:<h3 class="Brush_getstipple">Brush#get_stipple</h3> brush.html:<h3 class="Brush_getstyle">Brush#get_style</h3> brush.html:<h3 class="Brush_ishatch">Brush#is_hatch</h3> brush.html:<h3 class="Brush_isok">Brush#is_ok</h3> brush.html:<h3 class="Brush_setcolour">#Brush_set_colour</h3> brush.html:<h3 class="Brush_setstipple">Brush#set_stipple</h3> brush.html:<h3 class="Brush_setstyle">Brush#set_style</h3> dc.html:<h3>DC#get_text_foregrou...
2007 Mar 21
0
[904] branches/wxruby2/wxwidgets_282: Changes in Wx::Colour API 2.6 -> 2.8
...#get_pixel":#Colour_getpixel </span><ins>+* "Colour#get_as_string":#Colour_getasstring </ins><span class="cx"> * "Colour#green":#Colour_green </span><del>-* "Colour#ok":#Colour_ok </del><ins>+* "Colour#is_ok":#Colour_isok </ins><span class="cx"> * "Colour#red":#Colour_red </span><span class="cx"> * "Colour#set":#Colour_set </span><span class="cx"> </span><span class="lines">@@ -48,40 +50,50...
2007 Mar 18
0
[891] branches/wxruby2/wxwidgets_282: Change method name in 2.6 -> 2.8 API
...span class="cx"> </span><span class="cx"> * _entries_ The array of entries. </span><span class="cx"> </span><del>-h3(#AcceleratorTable_ok). AcceleratorTable#ok </del><ins>+h3(#AcceleratorTable_isok). AcceleratorTable#is_ok </ins><span class="cx"> </span><del>- Boolean *ok*() </del><ins>+ Boolean *is_ok*() </ins><span class="cx"> </span><span class="cx"> Returns true if the accelerator table is valid. </span><span clas...
2007 Mar 28
0
[923] branches/wxruby2/wxwidgets_282: Changes 2.6 -> 2.8 Wx API; remove unsupported methods and examples from doc
...+42,17 @@ </span><span class="cx"> h2. Methods </span><span class="cx"> </span><span class="cx"> * "Cursor.new":#Cursor_new </span><del>-* "Cursor#ok":#Cursor_ok </del><ins>+* "Cursor#is_ok":#Cursor_isok </ins><span class="cx"> </span><span class="cx"> </div> </span><span class="cx"> </span><span class="cx"> </span><span class="cx"> h3(#Cursor_new). Cursor.new &l...
2008 Nov 02
1
[LLVMdev] llvm-2.4 prerelease gfortran results
...42-2.4-1/llvm-gcc4.2-2.4.source/gcc/testsuite/gfortran.dg/assumed_charlen_function_3.f90 -O -pedantic-errors -S -o assumed_charlen_function_3.s (timeout = 300) /sw/src/fink.build/llvm-gcc42-2.4-1/llvm-gcc4.2-2.4.source/gcc/testsuite/gfortran.dg/assumed_charlen_function_3.f90:8.14: function is_OK (ch) ! { dg-warning "is obsolescent in fortran 95 1 Warning: CHARACTER(*) function 'is_ok' at (1) is obsolescent in fortran 95 /sw/src/fink.build/llvm-gcc42-2.4-1/llvm-gcc4.2-2.4.source/gcc/testsuite/gfortran.dg/assumed_charlen_function_3.f90:14.16: functio...
2007 Mar 30
0
[933] branches/wxruby2/wxwidgets_282: Font API 2.6 -> 2.8, corrections to Event doc
...erlined":#Font_getunderlined </span><span class="cx"> * "Font#get_weight":#Font_getweight </span><span class="cx"> * "Font#new":#Font_new </span><del>-* "Font#ok":#Font_ok </del><ins>+* "Font#is_ok":#Font_isok </ins><span class="cx"> * "Font#set_default_encoding":#Font_setdefaultencoding </span><span class="cx"> * "Font#set_face_name":#Font_setfacename </span><span class="cx"> * "Font#set_family&qu...
2006 Sep 11
15
ruby method names
...ly a_frame.title = ''The title'' # now an alternative textctrl.get_value # currently textctrl.value # now an alternative Also, C++ methods named ''IsXXX'' are now exposed in ruby with the alternative name ''xxx?'', eg tree_item_id.is_ok # currently tree_item_id.ok? # now an alternative a_checkbox.is_checked a_checkbox.checked? Note these are simply aliases - existing code can remain unchanged. I think this would do a lot to make the API feel more ruby-like (or pythonesque - WxPython follows this style) - but is pretty...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...ass="cx"> * "DC#max_y":#DC_maxy </span><span class="cx"> * "DC#min_x":#DC_minx </span><span class="cx"> * "DC#min_y":#DC_miny </span><del>-* "DC#ok":#DC_ok </del><ins>+* "DC#is_ok":#DC_isok </ins><span class="cx"> * "DC#reset_bounding_box":#DC_resetboundingbox </span><span class="cx"> * "DC#set_axis_orientation":#DC_setaxisorientation </span><span class="cx"> * "DC#set_background&...
2006 Dec 30
1
wxTreeItemId
...p(directorin) wxTreeItemId& "$input = LONG2NUM( (long)$1.m_pItem );" %typemap(out) wxTreeItemId "$result = LONG2NUM( (long)$1.m_pItem );" I''m not sure the overhead of directors etc is needed for TreeItemId - the only method that wxTreeItemId offers over Integer is is_ok, which can be done with zero? Let me know if we should keep this class. happy new year - think Sean''s right that this could be a break through for wxruby - planning to put some ideas for a "roadmap" on the wiki... cheers alex