package Gtk.Clipboard is
type Gtk_Clipboard_Record is new GObject_Record with null record;
type Gtk_Clipboard is access all Gtk_Clipboard_Record'Class;
type Gtk_Clipboard_Received_Func is access procedure (Clipboard : not null access Gtk_Clipboard_Record'Class; Selection_Data : Gtk.Selection_Data.Gtk_Selection_Data);
type Gtk_Clipboard_Image_Received_Func is access procedure (Clipboard : not null access Gtk_Clipboard_Record'Class; Pixbuf : not null access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class);
type Gtk_Clipboard_Rich_Text_Received_Func is access procedure (Clipboard : not null access Gtk_Clipboard_Record'Class; Format : Gdk.Types.Gdk_Atom; Text : in out Guint8; Length : Gsize);
type Gtk_Clipboard_Targets_Received_Func is access procedure (Clipboard : not null access Gtk_Clipboard_Record'Class; Atoms : in out Gdk.Types.Gdk_Atom; N_Atoms : Gint);
type Gtk_Clipboard_Text_Received_Func is access procedure (Clipboard : not null access Gtk_Clipboard_Record'Class; Text : UTF8_String);
type Gtk_Clipboard_Urireceived_Func is access procedure (Clipboard : not null access Gtk_Clipboard_Record'Class; Uris : GNAT.Strings.String_List);
type Cb_Gtk_Clipboard_Gdk_Event_Void is not null access procedure (Self : access Gtk_Clipboard_Record'Class; Object : Gdk.Event.Gdk_Event);
type Cb_GObject_Gdk_Event_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Object : Gdk.Event.Gdk_Event);
Signal_Owner_Change : constant Glib.Signal_Name := "owner-change";
function Get_Type return Glib.GType;
procedure Clear
( | Clipboard | : not null access Gtk_Clipboard_Record); |
function Get_Display
( | Clipboard | : not null access Gtk_Clipboard_Record) return Gdk.Display.Gdk_Display; |
function Get_Owner
( | Clipboard | : not null access Gtk_Clipboard_Record) return Glib.Object.GObject; |
procedure Request_Contents
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Target | : Gdk.Types.Gdk_Atom; | |
Callback | : Gtk_Clipboard_Received_Func); |
procedure Request_Image
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Callback | : Gtk_Clipboard_Image_Received_Func); |
procedure Request_Rich_Text
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Buffer | : not null access Glib.Object.GObject_Record'Class; | |
Callback | : Gtk_Clipboard_Rich_Text_Received_Func); |
procedure Request_Targets
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Callback | : Gtk_Clipboard_Targets_Received_Func); |
procedure Request_Text
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Callback | : Gtk_Clipboard_Text_Received_Func); |
procedure Request_Uris
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Callback | : Gtk_Clipboard_Urireceived_Func); |
procedure Set_Can_Store
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Targets | : Gtk.Target_List.Target_Entry_Array; | |
N_Targets | : Gint); |
procedure Set_Image
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Pixbuf | : not null access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class); |
procedure Set_Text
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Text | : UTF8_String); |
procedure Store
( | Clipboard | : not null access Gtk_Clipboard_Record); |
function Wait_For_Contents
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Target | : Gdk.Types.Gdk_Atom) return Gtk.Selection_Data.Gtk_Selection_Data; |
function Wait_For_Image
( | Clipboard | : not null access Gtk_Clipboard_Record) return Gdk.Pixbuf.Gdk_Pixbuf; |
function Wait_For_Text
( | Clipboard | : not null access Gtk_Clipboard_Record) return UTF8_String; |
function Wait_For_Uris
( | Clipboard | : not null access Gtk_Clipboard_Record) return GNAT.Strings.String_List; |
function Wait_Is_Image_Available
( | Clipboard | : not null access Gtk_Clipboard_Record) return Boolean; |
function Wait_Is_Rich_Text_Available
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Buffer | : not null access Glib.Object.GObject_Record'Class) return Boolean; |
function Wait_Is_Target_Available
( | Clipboard | : not null access Gtk_Clipboard_Record; |
Target | : Gdk.Types.Gdk_Atom) return Boolean; |
function Wait_Is_Text_Available
( | Clipboard | : not null access Gtk_Clipboard_Record) return Boolean; |
function Wait_Is_Uris_Available
( | Clipboard | : not null access Gtk_Clipboard_Record) return Boolean; |
function Wait_For_Targets
( | Clipboard | : not null access Gtk_Clipboard_Record) return Gdk.Types.Gdk_Atom_Array; |
function Get
( | Selection | : Gdk.Types.Gdk_Atom := Gdk.Types.Gdk_None) return Gtk_Clipboard; |
function Get_For_Display
( | Display | : not null access Gdk.Display.Gdk_Display_Record'Class; |
Selection | : Gdk.Types.Gdk_Atom := Gdk.Types.Gdk_None) return Gtk_Clipboard; |
procedure On_Owner_Change
( | Self | : not null access Gtk_Clipboard_Record; |
Call | : Cb_Gtk_Clipboard_Gdk_Event_Void; | |
After | : Boolean := False); |
procedure On_Owner_Change
( | Self | : not null access Gtk_Clipboard_Record; |
Call | : Cb_GObject_Gdk_Event_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |