Banshee.Widgets.HoverImageButton.OnButtonReleaseEvent C# (CSharp) Method

OnButtonReleaseEvent() protected method

protected OnButtonReleaseEvent ( Gdk evnt ) : bool
evnt Gdk
return bool
        protected override bool OnButtonReleaseEvent(Gdk.EventButton evnt)
        {
            if(evnt.Button != 1) {
                return base.OnButtonReleaseEvent(evnt);
            }

            is_pressed = false;
            QueueDraw();
            Activate();

            return base.OnButtonReleaseEvent(evnt);
        }