mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 04:45:37 +00:00
37aad1b278
* glue/selectiondata.c : expose data field. * gtk/SelectionData.custom : add Data property. [Fixes #53397] svn path=/trunk/gtk-sharp/; revision=22563
33 lines
723 B
C
33 lines
723 B
C
/* selectiondata.c : Glue to access fields of GtkSelectionData
|
|
*
|
|
* Author: Mike Kestner <mkestner@speakeasy.net>
|
|
*
|
|
* <c> 2003 Novell, Inc.
|
|
*/
|
|
|
|
#include <gtk/gtkwidget.h>
|
|
#include <gtk/gtkselection.h>
|
|
|
|
gint gtksharp_gtk_selection_data_get_length (GtkSelectionData *data);
|
|
gint gtksharp_gtk_selection_data_get_format (GtkSelectionData *data);
|
|
guchar *gtksharp_gtk_selection_data_get_data_pointer (GtkSelectionData *data);
|
|
|
|
guchar *
|
|
gtksharp_gtk_selection_data_get_data_pointer (GtkSelectionData *data)
|
|
{
|
|
return data->data;
|
|
}
|
|
|
|
gint
|
|
gtksharp_gtk_selection_data_get_length (GtkSelectionData *data)
|
|
{
|
|
return data->length;
|
|
}
|
|
|
|
gint
|
|
gtksharp_gtk_selection_data_get_format (GtkSelectionData *data)
|
|
{
|
|
return data->format;
|
|
}
|
|
|