mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Add gtk_selection_data_get_selection to retrieve the sealed struct field
GtkSelectionData.selection. svn path=/trunk/; revision=21564
This commit is contained in:
parent
0df29ef510
commit
0697bb7942
@ -1,3 +1,11 @@
|
||||
2008-10-01 Torsten Schoenfeld <kaffeetisch@gmx.de>
|
||||
|
||||
* docs/reference/gtk/gtk-sections.txt:
|
||||
* gtk/gtk.symbols:
|
||||
* gtk/gtkselection.c:
|
||||
* gtk/gtkselection.h: Add gtk_selection_data_get_selection to
|
||||
retrieve the sealed struct field GtkSelectionData.selection.
|
||||
|
||||
2008-10-01 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
|
||||
|
@ -5850,6 +5850,7 @@ gtk_selection_data_targets_include_image
|
||||
gtk_selection_data_targets_include_text
|
||||
gtk_selection_data_targets_include_uri
|
||||
gtk_selection_data_targets_include_rich_text
|
||||
gtk_selection_data_get_selection
|
||||
gtk_selection_data_get_data
|
||||
gtk_selection_data_get_length
|
||||
gtk_selection_data_get_data_type
|
||||
|
@ -3460,6 +3460,7 @@ gtk_selection_clear_targets
|
||||
gtk_selection_convert
|
||||
gtk_selection_data_copy
|
||||
gtk_selection_data_free
|
||||
gtk_selection_data_get_selection
|
||||
gtk_selection_data_get_target
|
||||
gtk_selection_data_get_data_type
|
||||
gtk_selection_data_get_display
|
||||
|
@ -1111,6 +1111,24 @@ gtk_selection_convert (GtkWidget *widget,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_selection_data_get_selection:
|
||||
* @selection_data: a pointer to a #GtkSelectionData structure.
|
||||
*
|
||||
* Retrieves the selection #GdkAtom of the selection data.
|
||||
*
|
||||
* Returns: the selection #GdkAtom of the selection data.
|
||||
*
|
||||
* Since: 2.16
|
||||
**/
|
||||
GdkAtom
|
||||
gtk_selection_data_get_selection (GtkSelectionData *selection_data)
|
||||
{
|
||||
g_return_val_if_fail (selection_data != NULL, 0);
|
||||
|
||||
return selection_data->selection;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_selection_data_get_target:
|
||||
* @selection_data: a pointer to a #GtkSelectionData structure.
|
||||
|
@ -147,6 +147,7 @@ gboolean gtk_selection_convert (GtkWidget *widget,
|
||||
GdkAtom target,
|
||||
guint32 time_);
|
||||
|
||||
GdkAtom gtk_selection_data_get_selection (GtkSelectionData *selection_data);
|
||||
GdkAtom gtk_selection_data_get_target (GtkSelectionData *selection_data);
|
||||
GdkAtom gtk_selection_data_get_data_type (GtkSelectionData *selection_data);
|
||||
gint gtk_selection_data_get_format (GtkSelectionData *selection_data);
|
||||
|
Loading…
Reference in New Issue
Block a user