Re: EventButton problem



I'm sorry I mistyped, the error should read,

* error CS0117 = 'Gdk.EventBox' does not contain a definition for 'button' (line 4)
Erik Tennison <tennisonerik yahoo com> wrote:
Hi,
 
I am getting the following error when declaring a new EventButton:
* error CS0117 = 'Gtk.EventBox' does not contain a definition for 'button' (line 4)
 
and the code is,
 
public void E (object sender, ButtonPressEventArgs e)
{
Gdk.EventButton evbCheck = e.Event;
if (evbCheck.button ==3)                 //line 4, error is here
  e.RetVal = true;
}
 
Anyone have an idea of what is going wrong and how to solve it?
 
Thanks in advance.
 
Erik


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]