Sha256: c3afaeb26f09f03f6ebb8bc51cddb1620bed6464deb74274b5272cb1d0cf6248

Contents?: true

Size: 998 Bytes

Versions: 20

Compression:

Stored size: 998 Bytes

Contents

---
:wxScrolled.DoPrepareDC:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |
            
            ```ruby
              class MyWindow < Wx::ScrolledWindow
            
                def on_event(event)
                  Wx::ClientDC.draw_on(self) do |dc|
                    do_prepare_dc(dc)
                  
                    dc.set_pen(Wx::BLACK_PEN)
                    pos = event.position
                    if xpos > -1 && ypos > -1 && event.dragging
                      dc.draw_line(xpos, ypos, pos.x, pos.y)
                    end
                    xpos = pos.x
                    ypos = pos.y
                  end
                end
            
              end
            ```
:wxScrolled.SetScrollbars:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |
            
            ```ruby
              window.set_scrollbars(20, 20, 50, 50)
            ```

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
wxruby3-1.4.2 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.4.1 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.4.0 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.3.1 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.3.0 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.2.1 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.2.0 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.1.2 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.1.1 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.1.0 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-1.0.1 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.8 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.7 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.5 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.4 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.3 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.2 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.1 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.0 rakelib/lib/generate/doc/scrolled_window.yaml
wxruby3-0.9.0.pre.rc.3 rakelib/lib/generate/doc/scrolled_window.yaml