Sha256: 12701b495a3af41725680fc2933517d866836d330644f5e7889bf2517b530437
Contents?: true
Size: 751 Bytes
Versions: 8
Compression:
Stored size: 751 Bytes
Contents
--- :wxInfoBar: :detail: :pre: :programlisting: - :pattern: !ruby/regexp /.*/ :replace: | ```ruby class MyFrame < Wx::Frame def initialize() # ... @infoBar = Wx::InfoBar.new(self) sizer = Wx::VBoxSizer.new sizer.add(@infoBar, Wx::SizerFlags.new.expand) # ... add other frame controls to the sizer ... set_sizer(sizer) end def some_method @infoBar.show_message('Something happened', Wx::ICON_INFORMATION) end end ```
Version data entries
8 entries across 8 versions & 1 rubygems