Sha256: dc1b76f7fc72fd0f3adde245ca01ce24c7b747abd8f0d03bff6e28666b5dced7
Contents?: true
Size: 776 Bytes
Versions: 22
Compression:
Stored size: 776 Bytes
Contents
--- :wxCollapsiblePane: :detail: :pre: :programlisting: - :pattern: !ruby/regexp /.*/ :replace: | ```ruby collpane = Wx::CollapsiblePane.new(self, Wx::ID_ANY, "Details:") # add the pane with a zero proportion value to the 'sz' sizer which contains it sz.add(collpane, 0, Wx::GROW|Wx::ALL, 5) #/ now add a test label in the collapsible pane using a sizer to layout it: win = collpane.get_pane pane_sz = Wx::VBoxSizer pane_sz.add(Wx::StaticText.new(win, Wx::ID_ANY, "test!"), 1, Wx::GROW|Wx::ALL, 2) win.set_sizer(pane_sz) pane_sz.set_size_hints(win) ```
Version data entries
22 entries across 22 versions & 1 rubygems