[MonoDevelop] Gtk.VScrollBar

Andy Selvig ajselvig at gmail.com
Sun Feb 8 15:48:07 EST 2009

>From the Monodoc page, the main constructor wants an adjustment. Try
something like:

Gtk.Adjustment adjusment = new Gtk.Adjustment(value, lower, upper, step_inc,
page_inc, page_size);
Gtk.VScrollbar vsb = new Gtk.VScrollbar(adjusment);

For a description of the constructor arguments for Adjustment, see its
Monodoc page.


On Wed, Jan 28, 2009 at 7:49 PM, Don <dmorgantennis at gmail.com> wrote:

> Hi:
> When trying to hard code the widget Gtk.VScrollbar vsb = new
> Gtk.VScrollbar();
> I get an error : `Gtk.VScrollbar.VScrollbar(GLib.GType)' is inaccessible
> due to its protection level(CS0122)]
> But, yet I can add I believe the same widget using Stetic w/o the
> error.  What am I missing?
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090208/65e7d821/attachment.html 

More information about the Monodevelop-list mailing list