Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkTargetList |
Struct : | TargetList |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
list : Array
|
Gtk.TargetList | |
ref_count : Number
|
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
|
||
Gtk.TargetList | ||
Appends the image targets supported by GtkSelection to the target list.
|
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 | |
add_table
(TargetEntry targets, Number ntargets)
:
none
Prepends a table of GtkTargetEntry to a target list.
Prepends a table of GtkTargetEntry to a target list.
|
Gtk.TargetList | |
add_text_targets
(Number 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
(Number 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 | |
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 |
Gtk.drag_begin
(Widget widget, TargetList targets, DragAction actions, Number button, Event event)
:
Gdk.DragContext
Initiates a drag on the source side.
|
Gtk
Method |
Looks for a match between context->targets and the returning GDK_NONE.
|
Gtk
Method |
Returns the list of targets this widget can accept from drag-and-drop.
|
Gtk
Method |
Sets the target types that this widget can accept from drag-and-drop.
|
Gtk
Method |
Gets the list of targets this widget can provide for drag-and-drop.
|
Gtk
Method |
Changes the target types that this widget offers for drag-and-drop.
|
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.
|
WebKit.WebView
Property |
copy_target_list : Gtk.TargetList
read only
|
WebKit.WebView
Property |
paste_target_list : Gtk.TargetList
read only
|
WebKit.WebView
Method |
get_copy_target_list
()
:
Gtk.TargetList
|
WebKit.WebView
Method |
get_paste_target_list
()
:
Gtk.TargetList
|