package Gtk.Selection_Data is
type Gtk_Selection_Data is new Glib.C_Boxed with null record;
subtype Gdk_Selection is Gdk.Types.Gdk_Atom;
Null_Gtk_Selection_Data : constant Gtk_Selection_Data;
Selection_Primary : constant Gdk_Selection := Make_Atom (1);
Selection_Secondary : constant Gdk_Selection := Make_Atom (2);
function From_Object
( | Object | : System.Address) return Gtk_Selection_Data; |
function From_Object_Free
( | B | : access Gtk_Selection_Data'Class) return Gtk_Selection_Data; |
function Get_Type return Glib.GType;
function Copy
( | Selection | : Gtk_Selection_Data) return Gtk_Selection_Data; |
procedure Free
( | Selection | : Gtk_Selection_Data); |
function Get_Data
( | Selection | : Gtk_Selection_Data) return System.Address; |
function Get_Data_Type
( | Selection | : Gtk_Selection_Data) return Gdk.Types.Gdk_Atom; |
function Get_Display
( | Selection | : Gtk_Selection_Data) return Gdk.Display.Gdk_Display; |
function Get_Format
( | Selection | : Gtk_Selection_Data) return Gint; |
function Get_Length
( | Selection | : Gtk_Selection_Data) return Gint; |
function Get_Pixbuf
( | Selection | : Gtk_Selection_Data) return Gdk.Pixbuf.Gdk_Pixbuf; |
function Set_Pixbuf
( | Selection | : Gtk_Selection_Data; |
Pixbuf | : not null access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class) return Boolean; |
function Get_Selection
( | Selection | : Gtk_Selection_Data) return Gdk.Types.Gdk_Atom; |
function Get_Target
( | Selection | : Gtk_Selection_Data) return Gdk.Types.Gdk_Atom; |
function Get_Text
( | Selection | : Gtk_Selection_Data) return UTF8_String; |
function Set_Text
( | Selection | : Gtk_Selection_Data; |
Str | : UTF8_String; | |
Len | : Gint) return Boolean; |
function Get_Uris
( | Selection | : Gtk_Selection_Data) return GNAT.Strings.String_List; |
function Set_Uris
( | Selection | : Gtk_Selection_Data; |
Uris | : GNAT.Strings.String_List) return Boolean; |
function Targets_Include_Image
( | Selection | : Gtk_Selection_Data; |
Writable | : Boolean) return Boolean; |
function Targets_Include_Text
( | Selection | : Gtk_Selection_Data) return Boolean; |
function Targets_Include_Uri
( | Selection | : Gtk_Selection_Data) return Boolean; |
function Make_Atom
( | Num | : Gulong) return Gdk.Types.Gdk_Atom; |
procedure Selection_Data_Set
( | Selection | : Gtk_Selection_Data; |
The_Type | : Gdk.Types.Gdk_Atom; | |
Format | : Gint; | |
Data | : System.Address; | |
Length | : Gint); |
procedure Selection_Data_Set
( | Selection | : Gtk_Selection_Data; |
The_Type | : Gdk.Types.Gdk_Atom; | |
Format | : Gint; | |
Data | : String); |
function Get_Targets
( | Selection | : Gtk_Selection_Data) return Gdk.Types.Gdk_Atom_Array; |
function Get_Data_As_String
( | Selection | : Gtk_Selection_Data) return String; |