protected override bool OnButtonReleaseEvent(Gdk.EventButton evnt) { if (evnt.Button == 1) { if (mouseOverStar && AllowPinning) { pinned = !pinned; QueueDraw(); if (PinClicked != null) { PinClicked(this, EventArgs.Empty); } return(true); } else if (mouseOver) { WelcomePageSection.DispatchLink(actionUrl); return(true); } } return(base.OnButtonReleaseEvent(evnt)); }
protected virtual void OnClicked() { WelcomePageSection.DispatchLink(actionLink); }
void PerformPress(object sender, EventArgs e) { WelcomePageSection.DispatchLink(LinkUrl); }