Gjsify LogoGjsify Logo

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

record

Hierarchy

  • TargetEntry

Index

Constructors

Properties

Methods

Constructors

  • new TargetEntry(target: string, flags: number, info: number): Gtk.TargetEntry
  • Makes a new #GtkTargetEntry.

    Parameters

    • target: string

      String identifier for target

    • flags: number

      Set of flags, see #GtkTargetFlags

    • info: number

      an ID that will be passed back to the application

    Returns Gtk.TargetEntry

Properties

flags: number

#GtkTargetFlags for DND

field
info: number

an application-assigned integer ID which will get passed as a parameter to e.g the #GtkWidget::selection-get signal. It allows the application to identify the target type without extensive string compares.

field
target: string

a string representation of the target type

field
name: string

Methods

  • free(): void
  • Makes a new #GtkTargetEntry.

    Parameters

    • target: string

      String identifier for target

    • flags: number

      Set of flags, see #GtkTargetFlags

    • info: number

      an ID that will be passed back to the application

    Returns Gtk.TargetEntry

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method