~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/extra/gtk2/gtk+/gtk/gtkclipboard.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// included by gtk2.pas
2
 
 
3
 
{$IFDEF read_forward_definitions}
4
 
{$ENDIF read_forward_definitions}
5
 
 
6
 
//------------------------------------------------------------------------------
7
 
 
8
 
{$IFDEF read_interface_types}
9
 
   // internal type
10
 
   PGtkClipboard = pointer;
11
 
 
12
 
   TGtkClipboardReceivedFunc = procedure (clipboard:PGtkClipboard; selection_data:PGtkSelectionData; data:gpointer); cdecl;
13
 
 
14
 
   TGtkClipboardTextReceivedFunc = procedure (clipboard:PGtkClipboard; text:Pgchar; data:gpointer); cdecl;
15
 
{ Should these functions have GtkClipboard  clipboard as the first argument?
16
 
   right now for ClearFunc, you may have trouble determining _which_ clipboard
17
 
   was cleared, if you reuse your ClearFunc for multiple clipboards.
18
 
  }
19
 
 
20
 
   TGtkClipboardGetFunc = procedure (clipboard:PGtkClipboard; selection_data:PGtkSelectionData; info:guint; user_data_or_owner:gpointer); cdecl;
21
 
 
22
 
   TGtkClipboardClearFunc = procedure (clipboard:PGtkClipboard; user_data_or_owner:gpointer); cdecl;
23
 
 
24
 
{$ENDIF read_interface_types}
25
 
 
26
 
//------------------------------------------------------------------------------
27
 
 
28
 
{$IFDEF read_interface_rest}
29
 
function gtk_clipboard_get_for_display(display:PGdkDisplay; selection:TGdkAtom):PGtkClipboard; cdecl; external gtklib;
30
 
 
31
 
{$ifndef GDK_MULTIHEAD_SAFE}
32
 
function gtk_clipboard_get(selection:TGdkAtom):PGtkClipboard; cdecl; external gtklib;
33
 
{$endif}
34
 
 
35
 
function gtk_clipboard_get_display(clipboard:PGtkClipboard):PGdkDisplay; cdecl; external gtklib;
36
 
function gtk_clipboard_set_with_data(clipboard:PGtkClipboard; targets:PGtkTargetEntry; n_targets:guint; get_func:TGtkClipboardGetFunc; clear_func:TGtkClipboardClearFunc;
37
 
           user_data:gpointer):gboolean; cdecl; external gtklib;
38
 
function gtk_clipboard_set_with_owner(clipboard:PGtkClipboard; targets:PGtkTargetEntry; n_targets:guint; get_func:TGtkClipboardGetFunc; clear_func:TGtkClipboardClearFunc;
39
 
           owner:PGObject):gboolean; cdecl; external gtklib;
40
 
function gtk_clipboard_get_owner(clipboard:PGtkClipboard):PGObject; cdecl; external gtklib;
41
 
procedure gtk_clipboard_clear(clipboard:PGtkClipboard); cdecl; external gtklib;
42
 
procedure gtk_clipboard_set_text(clipboard:PGtkClipboard; text:Pgchar; len:gint); cdecl; external gtklib;
43
 
procedure gtk_clipboard_request_contents(clipboard:PGtkClipboard; target:TGdkAtom; callback:TGtkClipboardReceivedFunc; user_data:gpointer); cdecl; external gtklib;
44
 
procedure gtk_clipboard_request_text(clipboard:PGtkClipboard; callback:TGtkClipboardTextReceivedFunc; user_data:gpointer); cdecl; external gtklib;
45
 
function gtk_clipboard_wait_for_contents(clipboard:PGtkClipboard; target:TGdkAtom):PGtkSelectionData; cdecl; external gtklib;
46
 
function gtk_clipboard_wait_for_text(clipboard:PGtkClipboard):Pgchar; cdecl; external gtklib;
47
 
function gtk_clipboard_wait_is_text_available(clipboard:PGtkClipboard):gboolean; cdecl; external gtklib;
48
 
{$ENDIF read_interface_rest}
49
 
// included by gtk2.pas
50