public void CustomImageView_EnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     this.IsShowCustomStyle = new bool?(false);
 }
Beispiel #2
0
        private void OnEnterNotifyEvent(object o, EnterNotifyEventArgs args)
        {
            int x, y;
            TranslatePosition (args.Event.Window, args.Event.X, args.Event.Y, out x, out y);

            if (CanResize) {
                UpdateCursor (x, y, false);
            }
        }
 private void OnPopupEnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     in_popup = true;
 }
Beispiel #4
0
 void OnFrameEnter(object s, Gtk.EnterNotifyEventArgs args)
 {
     AutoShow();
 }
Beispiel #5
0
 protected void OnEventbox6EnterNotifyEvent(object o, Gtk.EnterNotifyEventArgs args)
 {
     image3.Pixbuf = container.CloseImageHover;
 }
 private void OnEnterNotifyEvent (object o, EnterNotifyEventArgs args)
 {
     hide_delay_started = false;
     cursor_over_trayicon = true;
     if (can_show_popup) {
         // only show the popup when the cursor is still over the
         // tray icon after 500ms
         GLib.Timeout.Add (500, delegate {
             if (cursor_over_trayicon && can_show_popup) {
                 ShowPopup ();
             }
             return false;
         });
     }
 }
Beispiel #7
0
 // the mouse has entered the window
 private void window_enter(object o, EnterNotifyEventArgs args)
 {
     controls.HideAll ();
 }
Beispiel #8
0
 void HandleEnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     mouseOver = true;
     ShowTooltip ();
 }
Beispiel #9
0
        void HandleEnterNotifyEvent(object o, EnterNotifyEventArgs args)
        {
            this.QueueDraw ();

            if (m_showHandler > 0)
                return;

            // Cancel any active hide
            if (m_hideHandler > 0) {
                GLib.Source.Remove (m_hideHandler);
                m_hideHandler = 0;
            }

            // Start our animation sequence and track the handler tag
            m_showHandler = GLib.Timeout.Add (ANIMATION_TIMEOUT, delegate {
                m_titleOffset += 2;
                if (m_titleOffset > 0)
                    m_titleOffset = 0;
                this.QueueDrawArea (0, 0, this.Allocation.Width, m_titleHeight + m_titleLip);
                return m_titleOffset < 0;
            });
        }
 void OnEnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     //Console.WriteLine ("OnEnterNotifyEvent");
     // necessary for keys to work:
     if (!this.HasFocus)
         this.GrabFocus ();
     args.RetVal = true;
 }
Beispiel #11
0
		// <summary>
		// Show the remove image
		// </summary>
		void EnterNotifyEventHandler (object sender, EnterNotifyEventArgs args)
		{
			image.SetFromStock (Stock.Remove, IconSize.Menu);
		}
Beispiel #12
0
 void PlotWidget_EnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     if (!this.HasFocus)
         this.GrabFocus();
     this.InteractivePlotSurface2D.DoMouseEnter(args);
 }
Beispiel #13
0
 // the user is hovering over the tray icon
 void mouse_enter(object o, EnterNotifyEventArgs args)
 {
     timeout = 0;
     timer.Start (500);
 }
Beispiel #14
0
 void HandleMouseIn(object o, EnterNotifyEventArgs args)
 {
     isHoveredOver = true;
     Update ();
 }
Beispiel #15
0
 protected void OnMouseEnter(object o, EnterNotifyEventArgs args)
 {
     this.IsMouseIn    = true;
     this.CurrentState = ButtonState.Hover;
 }
Beispiel #16
0
 //highlight on enter
 private void mouse_enter(object o, EnterNotifyEventArgs args)
 {
     eb.State = StateType.Selected;
 }
Beispiel #17
0
 private void MouseOnLink(object sender, EnterNotifyEventArgs args)
 {
     if (_currenturl.Equals("")) return;
       label14.Markup =
           "<span foreground='#666666' underline='low' style='italic'>View in browser</span>";
 }
Beispiel #18
0
 protected void OnEventbox4EnterNotifyEvent(object o, Gtk.EnterNotifyEventArgs args)
 {
     image1.Pixbuf = container.MaximizeImageHover;
 }
Beispiel #19
0
 void HandleButtonEnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     //Console.WriteLine("HandleButtonEnterNotifyEvent");
     doRemove = false;
 }
 private void OnPopupEnterNotify (object o, EnterNotifyEventArgs args)
 {
     hide_delay_started = false;
 }
Beispiel #21
0
 private void OnEnter(object sender, EnterNotifyEventArgs args)
 {
     Button btn = (Button)sender;
     btn.ModifyBg(StateType.Prelight, new Gdk.Color(40, 20, 40));
 }
Beispiel #22
0
			void EnterNotifyEventHandler (object o, EnterNotifyEventArgs args) {
				renderer.Highlight();
			}		
Beispiel #23
0
 void HandleEnterNotifyEvent (object o, EnterNotifyEventArgs args)
 {
     Inside = true;
 }
Beispiel #24
0
 // mouse entered the window
 void mouse_enter(object o, EnterNotifyEventArgs args)
 {
     StopTimer ();
 }
Beispiel #25
0
 protected void OnMouseEnter(object o, EnterNotifyEventArgs args)
 {
     this.isMouseIn = true;
     this.SetButtonStyle(CcsColorButton.BtnState.Hover);
 }
Beispiel #26
0
 private void OnEnterNotifyEvent(object sender, EnterNotifyEventArgs a)
 {
     //GdkWindow.Cursor = cursorCross;
 }
Beispiel #27
0
 void HandleEnterNotifyEvent(object o, EnterNotifyEventArgs args)
 {
     this.drawmouse = true;
     this.QueueDraw ();
 }