search for: get_caret

Displaying 2 results from an estimated 2 matches for "get_caret".

Did you mean: set_caret
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...dow#get_effective_min_size":#Window_geteffectiveminsize </ins><span class="cx"> * "Window#get_best_size":#Window_getbestsize </span><ins>+* "Window#get_capture":#Window_getcapture </ins><span class="cx"> * "Window#get_caret":#Window_getcaret </span><del>-* "Window#get_capture":#Window_getcapture </del><span class="cx"> * "Window#get_char_height":#Window_getcharheight </span><span class="cx"> * "Window#get_char_width":#Window_get...
2007 Apr 29
0
[981] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Don''t call PaintDC.new; just refresh() instead of duplicating paint code
...lass="cx"> ch = event.key_code </span><span class="cx"> if !event.alt_down and (ch >= K_SPACE) and (ch < K_DELETE) </span><span class="cx"> self[@x_caret, @y_caret] = ch.chr </span><del>- - caret = get_caret - if caret - caret.hide - end - - dc = ClientDC.new(self) - dc.set_font(@font) - dc.set_background_mode(SOLID) # overwrite old value - dc.draw_text(ch.chr, @x_margin + @x_caret * @width_char, - @y_margin + @y_caret * @height_cha...