Extracted from Pike v7.3 release 14 at 2002-02-15.
pike.roxen.com
[Top]
GTK
GTK.Widget

Method GTK.Widget()->selection_owner_set()


Method selection_owner_set

object(GTK.Widget) GTK.Widget()->selection_owner_set(object(GDK.Atom)|void selection, int|void time)

Description

When prompted by the user, you claim ownership of the selection by calling this function.

If another application claims ownership of the selection, you will receive a "selection_clear_event".

The selection defaults to the PRIMARY selection, and the time to GDK.CurrentTime.