Sha256: 6015f858839d8bb260ca93422835dea8868b39202b15d6b22800813ec975cd63

Contents?: true

Size: 748 Bytes

Versions: 8

Compression:

Stored size: 748 Bytes

Contents

---
:wxPersistentComboBox:
  :detail:
    :pre:
      :programlisting:
        - :pattern: !ruby/regexp /.*/
          :replace: |

            ```ruby
              # Suppose you need to ask the user to select their favourite Linux
              # distribution, for some reason:
              combo = Wx::ComboBox.new(self, Wx::ID_ANY)
              unless Wx.persistent_register_and_restore(combo, 'distribution')
                # Seed it with some default contents.
                combo.append("Debian")
                combo.append("Fedora")
                combo.append("Ubuntu")
              end
              
              # Optionally, you might want to restore the last used entry:
              combo.set_selection(0)
            ```

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-1.3.1 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.3.0 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.2.1 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.2.0 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.1.2 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.1.1 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.1.0 rakelib/lib/generate/doc/persistent_window.yaml
wxruby3-1.0.1 rakelib/lib/generate/doc/persistent_window.yaml