[MonoDevelop] Special icons in Monodevelop toolbox for custom widgets
daniil00
fr.daniil at gmail.com
Fri Sep 19 17:36:38 EDT 2008
Mike Kestner-4 wrote:
>
> On Fri, 2008-09-19 at 10:23 -0700, daniil00 wrote:
>
>> > 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
>> <Icons>
>> <WidgetIcon widget-class="HollyWidgets.HLabel" widget-resource-icon
>> ="hlabel.jpg" />
>> ...
>> </Icons>
>> I'm thinking at those guys who don't want to include System.Drawing on
>> their
>> projects.
>
> Well, I'd rather not add another resource into the mix. If you don't
> mind the "edit a resource" approach, we already have the objects.xml
> format. It allows the setting of an icon for each object.
>
This is what I needed, thanks !
--
View this message in context: http://www.nabble.com/Special-icons-in-Monodevelop-toolbox-for-custom-widgets-tp19574431p19579763.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list