Displaying 3 results from an estimated 3 matches for "push_provid".
Did you mean:
push_provider
2007 Jan 06
0
[838] trunk/wxruby2/doc/textile/artprovider.txtl: Add methods listing; rubyify examples; distinguish class methods
...d easily
</span><span class="cx"> replace standard art with their own version. All
</span><span class="lines">@@ -10,31 +10,27 @@
</span><span class="cx"> provider with
</span><span class="cx"> "ArtProvider#push_provider":artprovider.html#ArtProvider_pushprovider:
</span><span class="cx">
</span><ins>+ class MyProvider < Wx::ArtProvider
+         def create_bitmap(art_id, art_client, art_size)
+ ..
+...
2007 Jan 12
0
[ wxruby-Bugs-7773 ] ObjectPreviouslyDeleted error when using custom ArtProvider
...ssigned to: Alex Fenton (brokentoy)
Summary: ObjectPreviouslyDeleted error when using custom ArtProvider
Initial Comment:
According to the docs, it should be possible to define a custom subclass of ArtProvider that responds to create_bitmap, and add it to the sources used by ArtProvider by calling push_provider:
Wx::ArtProvider.push_provider(MyArtProvider.new)
Wx::ArtProvider.get_icon(''project'')
However, this causes an ObjectPreviouslyDeleted error.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/...
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I
also expanded the bigdemo window a little bit. I really think we should
go larger but I suppose there might be some people at 800x600 still.
Note that creating your own art provider still doesn''t quite work
correctly. I didn''t have time to get into that.
The RubyConstants.i.patch file looks weird. Not