protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { // if we just left or entered from our own child widget if (evnt.Detail == Gdk.NotifyType.Inferior) { return(false); } isSelected = false; QueueDraw(); // Reset the base color back to normal detailsTextView.ModifyBase(StateType.Normal, inactiveBackgroundColor); if (closeWindowTimeoutID != 0) { GLib.Source.Remove(closeWindowTimeoutID); closeWindowTimeoutID = 0; } if (timeout > 0) { closeWindowTimeoutID = GLib.Timeout.Add(timeout, new GLib.TimeoutHandler( HideWindowCallback)); } return(false); }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing ec) { bool result = base.OnEnterNotifyEvent(ec); this.mouseInWidget = true; return(result); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing ec) { bool result = base.OnLeaveNotifyEvent(ec); this.mouseInWidget = false; this.QueueDraw(); return(result); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { if (InternalMouseTracking == false) { return(base.OnLeaveNotifyEvent(evnt)); } MouseOver = false; return(base.OnLeaveNotifyEvent(evnt)); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { if (evnt.Mode == CrossingMode.Normal) { HideTooltipWindow(); ClearMouseOverItem(); } return(base.OnLeaveNotifyEvent(evnt)); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { if (CanActivate) { SetStateFlags(pending_state, true); } return(base.OnLeaveNotifyEvent(evnt)); }
public void SendManualUpdate(Gdk.EventCrossing evnt) { // we get screwy inputs sometimes if (Math.Abs(evnt.XRoot - Cursor.X) > 100 || Math.Abs(evnt.YRoot - Cursor.Y) > 100) { OnTimerTick(); return; } Update(evnt.Window.Screen, (int)evnt.XRoot, (int)evnt.YRoot, evnt.State); }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing evnt) { if (!CanActivate) { return(base.OnEnterNotifyEvent(evnt)); } pending_state = StateFlags; SetStateFlags(StateFlags.Prelight, true); return(base.OnEnterNotifyEvent(evnt)); }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing evnt) { // if we just left or entered from our own child widget if (evnt.Detail == Gdk.NotifyType.Inferior) { return(false); } if (closeWindowTimeoutID != 0) { GLib.Source.Remove(closeWindowTimeoutID); closeWindowTimeoutID = 0; } isSelected = true; QueueDraw(); detailsTextView.ModifyBase(StateType.Normal, activeBackgroundColor); return(false); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { GdkWindow.Cursor = null; return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { hover = false; LoadImage(); return(base.OnLeaveNotifyEvent(evnt)); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { State = leaveState; return base.OnEnterNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { RemovePreviewPopupTimeout (); DestroyPreviewWindow (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { mouseOver = true; QueueDraw (); return base.OnEnterNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { if (!item.Disabled && Selected) { Selected = false; if (SelectedChanged != null) SelectedChanged (this, EventArgs.Empty); QueueDraw (); } return base.OnLeaveNotifyEvent (evnt); }
/// <summary> /// Called when the mouse leaves the widget. /// </summary> /// <param name="e">An instance that contains the event data.</param> /// <returns><c>true</c> if the event was handled.</returns> protected override bool OnLeaveNotifyEvent(EventCrossing e) { return this.ActualController.HandleMouseLeave(this, e.ToMouseEventArgs()); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { HideTipWindow(); return(base.OnLeaveNotifyEvent(evnt)); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { if (draggingTab && placeholderWindow == null && !mouseHasLeft) mouseHasLeft = true; return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { trackingHover = true; var hoverIdx = GetSectionHeaderAtPosition ((int)evnt.X, (int)evnt.Y); SetHoverIndex (hoverIdx); return base.OnEnterNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { trackingHover = false; SetHoverIndex (-1); return base.OnEnterNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent(EventCrossing evnt) { if (evnt.Mode == CrossingMode.Normal) { this.m_Hovered = -1; this.QueueDraw (); } return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing ev) { this.State = Gtk.StateType.Normal; return(base.OnLeaveNotifyEvent(ev)); }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing ev) { this.State = Gtk.StateType.Prelight; return(base.OnEnterNotifyEvent(ev)); }
protected override bool OnLeaveNotifyEvent(EventCrossing evnt) { /*if (evnt.Time - _dragStartTime > 500) { GLib.Timeout.Add(500, MultipleSelectOutsideWindowHander); }*/ return base.OnLeaveNotifyEvent(evnt); }
protected override bool OnLeaveNotifyEvent(EventCrossing evnt) { in_thumbnail_region = false; return ShowHideCoverArt (); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { if (!item.Disabled && !Selected) { Selected = true; if (SelectedChanged != null) SelectedChanged (this, EventArgs.Empty); QueueDraw (); } return false; }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { mouseOver = false; QueueDraw (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { selectedHunk = Mono.TextEditor.Utils.Hunk.Empty; TooltipText = null; QueueDraw (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { if (hoverItem != null) { hoverItem = null; QueueDraw (); } return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { selectedHunk = null; TooltipText = null; QueueDraw (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { foreach (HotSpot hp in hostSpots) { if (hp.IsOver && hp.OnMouseLeave != null) { hp.IsOver = false; hp.OnMouseLeave (); break; } } return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { if (!AcceptFocus) AcceptFocus = true; return base.OnEnterNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent(EventCrossing evnt) { State = StateType.Normal; return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { pressed = false; SetHover (-1); return true; }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing evnt) { hover = true; LoadImage(); return(base.OnEnterNotifyEvent(evnt)); }
protected override bool OnEnterNotifyEvent(EventCrossing evnt) { in_thumbnail_region = evnt.X <= Allocation.Height; return ShowHideCoverArt (); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { isPointerInside = true; if (!IsInGrab ()) { CancelFadeInTimeout (); fadeTimeOutHandler = GLib.Timeout.Add (250, delegate { StartFadeInAnimation (); fadeTimeOutHandler = 0; return false; }); } return base.OnEnterNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing evnt) { CancelDestroy(); return(base.OnEnterNotifyEvent(evnt)); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { isPointerInside = false; if (!IsInGrab ()) StartFadeOutAnimation (); RemovePreviewPopupTimeout (); DestroyPreviewWindow (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { SetHover (GetItemAt ((int)evnt.X, (int)evnt.Y)); return true; }
protected override bool OnLeaveNotifyEvent(EventCrossing evnt) { if (!dragging && evnt.Mode != CrossingMode.Grab) ResetHandleHighlight (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { Close (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent(Gdk.EventCrossing evnt) { hovered = true; QueueDraw(); return(base.OnEnterNotifyEvent(evnt)); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { highlightAnnotation = null; widget.QueueDraw (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnLeaveNotifyEvent(Gdk.EventCrossing evnt) { hovered = false; QueueDraw(); return(base.OnLeaveNotifyEvent(evnt)); }
protected override bool OnLeaveNotifyEvent (EventCrossing evnt) { if (!IsInGrab ()) UpdateState (StateType.Normal); RemovePreviewPopupTimeout (); DestroyPreviewWindow (); return base.OnLeaveNotifyEvent (evnt); }
protected override bool OnEnterNotifyEvent (EventCrossing evnt) { if (Allocation.Height > Allocation.Width) GdkWindow.Cursor = hresizeCursor; else GdkWindow.Cursor = vresizeCursor; return base.OnEnterNotifyEvent (evnt); }