[MonoDevelop] show a string[] property from a custom widget in propertypad

"José A. Salvador Vanaclocha" joansava at gmail.com
Wed Nov 17 13:32:19 EST 2010


 > Can you please file a bug report? (monodevelop.com/bugs)

Yes. I just do it.

A little notes:

1.- I've had been so many time to create an account (with too many 
personal data I think), fill and send the bug. I think the registration 
proccess is not very "functional" (from an agile point of view). This is 
only a positive criticism, don't get me wrong.

2.- In a perfect world I wouldn't have to decorate the string[] property 
with any attribute to being displayed in the property pad, doesn't  it?

3.- Thank you very much for your quick response.


PS -> Greats from your "neighbor" at Valencia (Spain) :-D

Jose Salvador

Lluis Sanchez Gual escribió:
> Can you please file a bug report? (monodevelop.com/bugs)
>
> Thakns,
>
> El dc 17 de 11 de 2010 a les 18:37 +0100, en/na "José A. Salvador
> Vanaclocha" va escriure:
>   
>> Hi all,
>>
>> I am going to be crazy soon.
>>
>> For all day I've been googling looking for the answer, with no succed, 
>> of course.
>>
>> I am migrating a project from monodevelop 1.0 to monodevelop 2.2.1.
>>
>> I have a custom widget with a string[] property which was displayed in 
>> the monodevelop properties pad before(monodevelop 1.1). Now, with 
>> monodevelop 2.2 it does not. However, any other "simple" type properties 
>> (i.e. string) does right displayed.
>>
>> Any ideas?
>>
>> Jose Salvador.
>>
>> PS -> A little code to ilustrate the custom widget below:
>>
>>     [System.ComponentModel.ToolboxItem(true)]
>>     public partial class customwid : Gtk.Bin
>>     {
>>         public customwid ()
>>         {
>>             this.Build ();    
>>         }
>>        
>>         private string[] properties = new string[0];          
>> // THIS IS THE PROPERTY NOT DISPLAYED AT MONODEVELOP PROPERTY PAD
>>         public string[] Properties {
>>             get {return properties;}
>>             set {properties = value;}
>>         }
>>        
>>         private string flatProp;
>> // THIS IS THE PROPERTY DISPLAYED AT MONODEVELOP PROPERTY PAD
>>         public string FlatProp {
>>             get {return flatProp;}
>>             set {flatProp = value;}
>>         }
>>     }
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>     
>
>
>   



More information about the Monodevelop-list mailing list