private void HandleTargetDragLeave(object sender, DragLeaveArgs args)
        {
            logger.Debug ("leave");
            DragIn = false;

            CalendarHBox target = (CalendarHBox)sender;
            target.UnsetPreview();
        }
		/// <summary>
		/// Emitted on drop site when drag leaves widget
		/// </summary>
		void HandleDragLeave (object o, DragLeaveArgs args)
		{
			drag_known = false;
		}
 private void OnDragLeave(object o, DragLeaveArgs args)
 {
     dragging = false;
 }
Example #4
0
	private static void HandlePopsiteLeave (object sender, DragLeaveArgs args)
	{
		if (popup_timer != 0) {
			GLib.Source.Remove (popup_timer);
			popup_timer = 0;
		}
	}
Example #5
0
	private static void HandlePopupLeave (object sender, DragLeaveArgs args)
	{
		if (in_popup) {
			in_popup = false;
			if (popdown_timer == 0) {
				Console.WriteLine ("added popdown");
				popdown_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopdownCallback));
			}
		}
	}
Example #6
0
	private static void HandleTargetDragLeave (object sender, DragLeaveArgs args)
	{
		Console.WriteLine ("leave");
		have_drag = false;

		// FIXME?  Kinda wonky binding.
		(sender as Gtk.Image).FromPixbuf = trashcan_closed_pixbuf;
	}
Example #7
0
 void HandleDragLeave (object o, DragLeaveArgs args)
 {
     if (highlighted) {
         Gtk.Drag.Unhighlight (this);
         highlighted = false;
     }
     args.RetVal = true;
 }