Sha256: 1cb31ad09da703411996ba7b8b32b4bca6f38113bdb287e7ab7b0a81aa09c6a6

Contents?: true

Size: 710 Bytes

Versions: 8

Compression:

Stored size: 710 Bytes

Contents

---
:wxGrid.GetRowGridLinePen:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |
            
            ```ruby
              class MidiGrid < Wx::GRID::Grid
            
                # ...
            
                # in a grid displaying music notation, use a solid black pen between
                # octaves (C0=row 127, C1=row 115 etc.)
                def get_row_grid_line_pen(row)
                  if row % 12 == 7 
                    Wx::Pen.new(Wx::BLACK, 1, Wx::PENSTYLE_SOLID)
                  else
                    get_default_grid_line_pen
                  end
                end
            
              end
            ```

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-0.9.8 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.7 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.5 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.4 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.3 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.2 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.1 rakelib/lib/generate/doc/grid_ctrl.yaml
wxruby3-0.9.0 rakelib/lib/generate/doc/grid_ctrl.yaml