[MonoDevelop] Special icons in Monodevelop toolbox for custom widgets

daniil00 fr.daniil at gmail.com
Fri Sep 19 13:23:52 EDT 2008

Mike Kestner-4 wrote:
> On Fri, 2008-09-19 at 08:25 -0700, daniil00 wrote:
>> Hi there,
>> Is it possible to have special icons for my widgets in the Monodevelop
>> toolbox ?   I want to make a few nice icons for my Holly Widgets. 
>> Something
>> like the ToolboxBitmap attribute from winforms.
> No, not currently.  Sounds like a something doable for 2.0 though if we
> can come up with the right attribute to use.
> System.Drawing.ToolboxBitmapAttribute has a string ctor.  Maybe we could
> parse that and use the value to access a resource.  Probably don't need
> to restrict it to S.D.Bitmaps.  Could probably put anything loadable by
> PixbufLoader in there.
> Thoughts?

Or maybe add a as an resource a XML file called let's say "md-gui-icons.xml"
where we can associate widgets with an icon. Something like
    <WidgetIcon widget-class="HollyWidgets.HLabel" widget-resource-icon
="hlabel.jpg" />
I'm thinking at those guys who don't want to include System.Drawing on their

View this message in context: http://www.nabble.com/Special-icons-in-Monodevelop-toolbox-for-custom-widgets-tp19574431p19576419.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

More information about the Monodevelop-list mailing list