Sha256: 6cb8e7c3eea56d1b1aa2fcff353fa4cbc58b1667eb111e1cb5aa42ecbffad429
Contents?: true
Size: 1.23 KB
Versions: 24
Compression:
Stored size: 1.23 KB
Contents
--- :wxBitmap.wxBitmap: :detail: :pre: :para: - :pattern: !ruby/regexp /<programlisting>.*GetSubBitmap/ :replace: | ```ruby newBitmap = oldBitmap.get_sub_bitmap( Wx::Rect.new(0, 0, oldBitmap.width, oldBitmap.height)) ``` :wxBitmapBundle: :detail: :pre: :para: - :pattern: !ruby/regexp /<programlisting>.*MyFrame::MyFrame/ :replace: | ```ruby class MyFrame < Wx::Frame def initialize super(nil, Wx::ID_ANY, "My frame") # ... tool_bar = create_toolBar bitmaps = [ Wx::Bitmap(:open_32x32, Wx::BitmapType::BITMAP_TYPE_PNG), Wx::Bitmap(:open_48x48, Wx::BitmapType::BITMAP_TYPE_PNG), Wx::Bitmap(:open_64x64, Wx::BitmapType::BITMAP_TYPE_PNG) ] tool_bar.add_tool(Wx::ID_OPEN, "Open", Wx::BitmapBundle.from_bitmaps(bitmaps)) end ``` - :pattern: !ruby/regexp /For\s+the\s+platforms\s+with\s+resources\s+support/ :replace: ''
Version data entries
24 entries across 24 versions & 1 rubygems