getData
protected static final String getData(Handle selectionData)
getDisplay
protected static final Handle getDisplay(Handle selectionData)
getFormat
public int getFormat()
getFormat
protected static final int getFormat(Handle selectionData)
getLength
public int getLength()
getLength
protected static final int getLength(Handle selectionData)
getPixbuf
public Pixbuf getPixbuf()
getSelection
public Atom getSelection()
getSelection
protected static final Handle getSelection(Handle selectionData)
getTarget
public Atom getTarget()
getTarget
protected static final Handle getTarget(Handle selectionData)
getTargets
public Atom[] getTargets()
getText
public String getText()
getType
public Atom getType()
getType
protected static final Handle getType(Handle selectionData)
getUris
public String[] getUris()
gtk_selection_data_get_pixbuf
protected static final Handle gtk_selection_data_get_pixbuf(Handle selectionData)
gtk_selection_data_get_targets
protected static final Handle[] gtk_selection_data_get_targets(Handle selectionData)
gtk_selection_data_get_text
protected static final String gtk_selection_data_get_text(Handle selectionData)
gtk_selection_data_get_uris
protected static final String[] gtk_selection_data_get_uris(Handle selectionData)
gtk_selection_data_set_pixbuf
protected static final boolean gtk_selection_data_set_pixbuf(Handle selectionData,
Handle pixbuf)
gtk_selection_data_set_text
protected static final boolean gtk_selection_data_set_text(Handle selectionData,
String str)
gtk_selection_data_set_uris
protected static final boolean gtk_selection_data_set_uris(Handle selectionData,
String[] uris)
gtk_selection_data_targets_include_text
protected static final boolean gtk_selection_data_targets_include_text(Handle selectionData)
setPixbuf
public boolean setPixbuf(Pixbuf pixbuf)
setText
public boolean setText(String text)
setUris
public boolean setUris(String[] uris)
targetsIncludText
public boolean targetsIncludText()
Given that this SelectionData object holds a list of targets,
determines if any of the targets in targets can be used to provide text.
- TRUE if this SelectionData holds a list of targets, and a
suitable target for text is included, otherwise FALSE.
targetsIncludeImage
public boolean targetsIncludeImage(boolean writable)
Given that this SelectionData object holds a list of targets,
determines if any of the targets in targets can be used to
provide a
Pixbuf
.
writable
- Whether to accept only targets for which GTK+ knows
how to convert a pixbuf into the format.
- TRUE if this SelectionData holds a list of targets, and a
suitable target for images is included, otherwise FALSE.