[MonoDevelop] show a string[] property from a custom widget in propertypad
Lluis Sanchez Gual
slluis.devel at gmail.com
Wed Nov 17 13:46:41 EST 2010
El dc 17 de 11 de 2010 a les 19:32 +0100, en/na "José A. Salvador
Vanaclocha" va escriure:
> > 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.
Yes, bugzilla registration sucks, but we can't do much about it. I guess
you used the standard registration form. When using the registration
page linked in monodevelop.com/bugs, the form is much simpler.
>
> 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?
Right
>
> 3.- Thank you very much for your quick response.
>
Thanks!
>
> PS -> Greats from your "neighbor" at Valencia (Spain) :-D
Greetings!
Lluis.
>
> 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