Ardour  9.0-pre0-582-g084a23a80d
gtkquartz.h
Go to the documentation of this file.
1 /* gtkquartz.h: Utility functions used by the Quartz port
2  *
3  * Copyright (C) 2006 Imendio AB
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20 
21 #ifndef __GTK_QUARTZ_H__
22 #define __GTK_QUARTZ_H__
23 
24 #import <Cocoa/Cocoa.h>
25 #include <gtk/gtkselection.h>
26 
27 G_BEGIN_DECLS
28 
31  guint n_targets);
32 
34 
36  GdkAtom target,
38 
39 void _gtk_quartz_set_selection_data_for_pasteboard (NSPasteboard *pasteboard,
40  GtkSelectionData *selection_data);
41 
43 
44 G_END_DECLS
45 
46 #endif /* __GTK_QUARTZ_H__ */
struct _GdkAtom * GdkAtom
Definition: gdktypes.h:80
GtkImagePixbufData pixbuf
Definition: gtkimage.h:2
NSImage * _gtk_quartz_create_image_from_pixbuf(GdkPixbuf *pixbuf)
GList * _gtk_quartz_pasteboard_types_to_atom_list(NSArray *array)
G_BEGIN_DECLS NSSet * _gtk_quartz_target_list_to_pasteboard_types(GtkTargetList *target_list)
NSSet * _gtk_quartz_target_entries_to_pasteboard_types(const GtkTargetEntry *targets, guint n_targets)
void _gtk_quartz_set_selection_data_for_pasteboard(NSPasteboard *pasteboard, GtkSelectionData *selection_data)
GtkSelectionData * _gtk_quartz_get_selection_data_from_pasteboard(NSPasteboard *pasteboard, GdkAtom target, GdkAtom selection)
typedefG_BEGIN_DECLS struct _GtkTargetList GtkTargetList
Definition: gtkselection.h:41
link region and track selection