Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkTargetEntry |
Struct : | TargetEntry |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
flags : Number
|
Gtk.TargetEntry | |
info : Number
|
Gtk.TargetEntry | |
target : String
|
Gtk.TargetEntry |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.TargetEntry
()
Create a new Gtk.TargetEntry
Create a new Gtk.TargetEntry
|
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk
Method |
Gtk.selection_add_targets
(Widget widget, Atom selection, TargetEntry targets, Number ntargets)
:
none
Prepends a table of targets to the list of supported targets for a given widget and selection.
|
Gtk
Method |
This function frees a target table as returned by gtk_target_table_new_from_list()
|
Gtk
Method |
This function creates an GtkTargetEntry array that contains the same targets as the passed list.
|
Gtk.Clipboard
Method |
set_with_data
(TargetEntry targets, Number n_targets, Function get_func, Function clear_func, void* user_data)
:
Boolean
Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.
|
Gtk.Clipboard
Method |
set_with_owner
(TargetEntry targets, Number n_targets, Function get_func, Function clear_func, Object owner)
:
Boolean
Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.
|
Gtk.Clipboard
Method |
set_can_store
(TargetEntry targets, Number n_targets)
:
none
Hints that the clipboard data should be stored somewhere when the application exits or when gtk_clipboard_store () is called.
|
Gtk.IconView
Method |
enable_model_drag_source
(ModifierType start_button_mask, TargetEntry targets, Number n_targets, DragAction actions)
:
none
Turns icon_view into a drag source for automatic DND.
|
Gtk.IconView
Method |
Turns icon_view into a drop destination for automatic DND.
|
Gtk.TargetList
Method |
Create a new Gtk.TargetList
|
Gtk.TargetList
Method |
add_table
(TargetEntry targets, Number ntargets)
:
none
Prepends a table of GtkTargetEntry to a target list.
|
Gtk.ToolPalette
Method |
Gtk.ToolPalette.get_drag_target_item
()
:
Gtk.TargetEntry
Gets the target entry for a dragged GtkToolItem.
|
Gtk.ToolPalette
Method |
Gtk.ToolPalette.get_drag_target_group
()
:
Gtk.TargetEntry
Get the target entry for a dragged GtkToolItemGroup.
|
Gtk.TreeView
Method |
enable_model_drag_source
(ModifierType start_button_mask, TargetEntry targets, Number n_targets, DragAction actions)
:
none
Turns tree_view into a drag source for automatic DND.
|
Gtk.TreeView
Method |
Turns tree_view into a drop destination for automatic DND.
|