[Gtk-sharp-list] Clipboard protection level error

Mike Storm oopsdude at gmail.com
Thu Jun 30 18:25:46 EDT 2005


Hi all,

I'm trying to create some simple cut/copy/paste buttons for my little
text editor, but documentation on the web seems rather sparse.
Whenever I try to do this:

Clipboard clipboard = new Clipboard();

it gives me this error:

parser.cpp(51) error CS0122: 'Gtk.Clipboard.Clipboard' is inaccessible
due to its protection level
/home/mike/calc/gtk-sharp.dll: 'Gtk.Clipboard.Clipboard' (name of
symbol related to previous error
parser.cpp(51) error CS0122: 'Gtk.Clipboard.Clipboard' is inaccessible
due to its protection level
/home/mike/calc/gtk-sharp.dll: 'Gtk.Clipboard.Clipboard' (name of
symbol related to previous error

I'm using Gtk# 1.9.3.1, if that makes any difference. Could anybody
tell me how to fix this, or better yet, point me in the direction of a
good example on the web? (I can't seem to find any decent ones.)

Thanks in advance.

-Mike


More information about the Gtk-sharp-list mailing list