Gtk.TargetEntry - Structures - Gtk 3.0 (original) (raw)
Fields¶
Name | Type | Access | Description |
---|---|---|---|
flags | int | r/w | Gtk.TargetFlags for DND |
info | int | r/w | an application-assigned integer ID which will get passed as a parameter to e.g the Gtk.Widget ::selection-get signal. It allows the application to identify the target type without extensive string compares. |
target | str | r/w | a string representation of the target type |
Methods¶
class | new (target, flags, info) |
---|---|
copy () | |
free () |
Details¶
class Gtk.TargetEntry¶
A Gtk.TargetEntry represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop.
classmethod new(target, flags, info)[source]¶
Parameters:
- target (str) – String identifier for target
- flags (int) – Set of flags, see Gtk.TargetFlags
- info (int) – an ID that will be passed back to the application
Returns:
a pointer to a new Gtk.TargetEntry. Free with Gtk.TargetEntry.free()
Return type:
Makes a new Gtk.TargetEntry.
Returns:
a pointer to a copy of self. Free with Gtk.TargetEntry.free()
Return type:
Makes a copy of a Gtk.TargetEntry and its data.
Frees a Gtk.TargetEntry returned fromGtk.TargetEntry.new() or Gtk.TargetEntry.copy().