Re: Gdk Drag status



On Tue, 2006-08-01 at 20:35 +0200, Jens Luedicke wrote:

I want to tell gtk during drag_motion that dropping isn't
possible, and for some reaon

$context->status(0,$time);

doesn't work?

GdkDragAction is a flags type.  In C, 0 for a flags type says "none of
the flags".  To do the same with Glib's flags wrappers, use an empty
array reference:

  $context->status([], $time)

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]