Sha256: 09e12fd23449af70630c3cefa399fb6118976ef1cbd04038a23bac9642f78381

Contents?: true

Size: 1.12 KB

Versions: 16

Compression:

Stored size: 1.12 KB

Contents

---
:wxHtmlFilter.CanRead:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |
            
            ```ruby
              class MyFilter < Wx::HTML::HtmlFilter
                # ...
            
                def can_read(file)
                  file.get_mime_type == 'application/x-ugh'
                end
            
                # ...
              end
            ```
:wxHtmlFilter.ReadFile:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |
            
            ```ruby
              class MyFilter < Wx::HTML::HtmlFilter
                # ...
            
                def read_file(file)
                  '<html><body><img src="' + file.get_location + '"></body></html>'
                end
            
                # ...
              end
            ```
:wxHtmlWindow.SetPage:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |
            
            ```ruby
              htmlwin.set_page('<html><body>Hello, world!</body></html>')
            ```

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wxruby3-1.3.1 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.3.0 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.2.1 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.2.0 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.1.2 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.1.1 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.1.0 rakelib/lib/generate/doc/html_window.yaml
wxruby3-1.0.1 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.8 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.7 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.5 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.4 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.3 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.2 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.1 rakelib/lib/generate/doc/html_window.yaml
wxruby3-0.9.0 rakelib/lib/generate/doc/html_window.yaml