gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.TargetEntry

Contents

Description

A 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.

Synopsis

Exported types

newZeroTargetEntry :: MonadIO m => m TargetEntry Source #

Construct a TargetEntry struct initialized to zero.

Methods

copy

targetEntryCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TargetEntry

data: a pointer to a TargetEntry

-> m TargetEntry

Returns: a pointer to a copy of data. Free with targetEntryFree

Makes a copy of a TargetEntry and its data.

free

targetEntryFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TargetEntry

data: a pointer to a TargetEntry.

-> m () 

Frees a TargetEntry returned from targetEntryNew or targetEntryCopy.

new

targetEntryNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

target: String identifier for target

-> Word32

flags: Set of flags, see TargetFlags

-> Word32

info: an ID that will be passed back to the application

-> m TargetEntry

Returns: a pointer to a new TargetEntry. Free with targetEntryFree

Makes a new TargetEntry.

Properties

flags

info

target