Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkTargetList |
Struct : | TargetList |
Properties | Defined By | |
---|---|---|
list : Array
|
Gtk.TargetList | |
ref_count : guint32
|
Gtk.TargetList |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.TargetList
()
Create a new Gtk.TargetList
Create a new Gtk.TargetList
|
||
Create a new Gtk.TargetList
Create a new Gtk.TargetList
|
||
Appends another target to a GtkTargetList.
|
Gtk.TargetList | |
Appends the image targets supported by GtkSelection to
the target list.
Appends the image targets supported by GtkSelection to
the target list. All targets are added with the same info.
|
Gtk.TargetList | |
Appends the rich text targets registered with
gtk_text_buffer_register_serialize_format() or gtk_text_buffer_register_deserialize_format() to the target list.
Appends the rich text targets registered with
gtk_text_buffer_register_serialize_format() or gtk_text_buffer_register_deserialize_format() to the target list. All targets are added with the same info.
|
Gtk.TargetList | |
Gtk.TargetList | ||
add_text_targets
(guint32 info)
:
none
Appends the text targets supported by GtkSelection to
the target list.
Appends the text targets supported by GtkSelection to
the target list. All targets are added with the same info.
|
Gtk.TargetList | |
add_uri_targets
(guint32 info)
:
none
Appends the URI targets supported by GtkSelection to
the target list.
Appends the URI targets supported by GtkSelection to
the target list. All targets are added with the same info.
|
Gtk.TargetList | |
Looks up a given target in a GtkTargetList.
Looks up a given target in a GtkTargetList.
|
Gtk.TargetList | |
remove
(Atom target)
:
none
Removes a target from a target list.
Removes a target from a target list.
|
Gtk.TargetList |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk
Method |
This function creates an GtkTargetEntry array that contains the
same targets as the passed list. |
Gtk.Entry
Method |
set_icon_drag_source
(EntryIconPosition icon_pos, TargetList target_list, DragAction actions)
:
none
Sets up the icon at the given position so that GTK+ will start a drag
operation when the user clicks and drags the icon. |
Gtk.TextBuffer
Property |
copy_target_list : Gtk.TargetList
read only
The list of targets this buffer supports for clipboard copying
and as DND source. |
Gtk.TextBuffer
Property |
paste_target_list : Gtk.TargetList
read only
The list of targets this buffer supports for clipboard pasting
and as DND destination. |
Gtk.TextBuffer
Method |
get_copy_target_list
()
:
Gtk.TargetList
This function returns the list of targets this text buffer can
provide for copying and as DND source. |
Gtk.TextBuffer
Method |
get_paste_target_list
()
:
Gtk.TargetList
This function returns the list of targets this text buffer supports
for pasting and as DND destination. |
Gtk.Widget
Method |
Initiates a drag on the source side.
|
Gtk.Widget
Method |
Looks for a match between the supported targets of context and the
returning GDK_NONE. |
Gtk.Widget
Method |
drag_dest_get_target_list
()
:
Gtk.TargetList
Returns the list of targets this widget can accept from
drag-and-drop. |
Gtk.Widget
Method |
drag_dest_set_target_list
(TargetList target_list)
:
none
Sets the target types that this widget can accept from drag-and-drop.
|
Gtk.Widget
Method |
drag_source_get_target_list
()
:
Gtk.TargetList
Gets the list of targets this widget can provide for
drag-and-drop. |
Gtk.Widget
Method |
drag_source_set_target_list
(TargetList target_list)
:
none
Changes the target types that this widget offers for drag-and-drop.
|
WebKit.WebView
Property |
copy_target_list : Gtk.TargetList
read only
The list of targets this web view supports for clipboard copying.
|
WebKit.WebView
Property |
paste_target_list : Gtk.TargetList
read only
The list of targets this web view supports for clipboard pasting.
|
WebKit.WebView
Method |
get_copy_target_list
()
:
Gtk.TargetList
This function returns the list of targets this WebKitWebView can
provide for clipboard copying and as DND source. |
WebKit.WebView
Method |
get_paste_target_list
()
:
Gtk.TargetList
This function returns the list of targets this WebKitWebView can
provide for clipboard pasting and as DND destination. |