Debian Codegraph @

gtk/gtkimage.h

raw symbols SCIP
1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 /*
19 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23 */
24
25 #pragma once
26
27
28 #if !defined (__GTK_H_INSIDE__cxx . . $ `gtk/gtk.h:27:9`!) && !defined (GTK_COMPILATIONcxx . . $ `<built-in>:420:9`!)
29 #error "Only <gtk/gtk.h> can be included directly."
30 #endif
31
32 #include <gio/gio.h>
33 #include <gtk/gtkwidget.h>cxx . . $ `<file>/gtk/gtkwidget.h`/
34
35
36 G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`!
37
38 #define GTK_TYPE_IMAGEcxx . . $ `gtk/gtkimage.h:38:9`! (gtk_image_get_type ())
39 #define GTK_IMAGEcxx . . $ `gtk/gtkimage.h:39:9`!(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage))
40 #define GTK_IS_IMAGEcxx . . $ `gtk/gtkimage.h:40:9`!(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE))
41
42 typedef struct _GtkImagecxx . . $ _GtkImage# GtkImagecxx . . $ GtkImage#;
43
44 /**
45 * GtkImageType:
46 * @GTK_IMAGE_EMPTY: there is no image displayed by the widget
47 * @GTK_IMAGE_ICON_NAME: the widget contains a named icon
48 * @GTK_IMAGE_GICON: the widget contains a `GIcon`
49 * @GTK_IMAGE_PAINTABLE: the widget contains a `GdkPaintable`
50 *
51 * Describes the image data representation used by a [[email protected]].
52 *
53 * If you want to get the image from the widget, you can only get the
54 * currently-stored representation; for instance, if the gtk_image_get_storage_type()
55 * returns %GTK_IMAGE_PAINTABLE, then you can call gtk_image_get_paintable().
56 *
57 * For empty images, you can request any storage type (call any of the "get"
58 * functions), but they will all return %NULL values.
59 */
60 typedef enumcxx . . $ $anonymous_type_568306262c7d73c6_0#
61 {
62 GTK_IMAGE_EMPTYcxx . . $ GTK_IMAGE_EMPTY.,
63 GTK_IMAGE_ICON_NAMEcxx . . $ GTK_IMAGE_ICON_NAME.,
64 GTK_IMAGE_GICONcxx . . $ GTK_IMAGE_GICON.,
65 GTK_IMAGE_PAINTABLEcxx . . $ GTK_IMAGE_PAINTABLE.
66 } GtkImageTypecxx . . $ GtkImageType#;
67
68 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
69 GTypecxx . . $ GType# gtk_image_get_typecxx . . $ gtk_image_get_type(f708dce9a8856c70). (void) G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
70
71 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
72 GtkWidgetcxx . . $ GtkWidget#* gtk_image_newcxx . . $ gtk_image_new(2369ce5e9f2c7dfd). (void);
73 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
74 GtkWidgetcxx . . $ GtkWidget#* gtk_image_new_from_filecxx . . $ gtk_image_new_from_file(6d90f3ec8782e10d). (const char *filename);
75 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
76 GtkWidgetcxx . . $ GtkWidget#* gtk_image_new_from_resourcecxx . . $ gtk_image_new_from_resource(6d90f3ec8782e10d). (const char *resource_path);
77 GDK_DEPRECATED_IN_4_12_FORcxx . . $ `build/gdk/version/gdk-visibility.h:242:9`!(gtk_image_new_from_paintable)
78 GtkWidgetcxx . . $ GtkWidget#* gtk_image_new_from_pixbufcxx . . $ gtk_image_new_from_pixbuf(891ca89c964f3a5a). (GdkPixbufcxx . . $ GdkPixbuf# *pixbuf);
79 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
80 GtkWidgetcxx . . $ GtkWidget#* gtk_image_new_from_paintablecxx . . $ gtk_image_new_from_paintable(71b006fd44067db0). (GdkPaintablecxx . . $ GdkPaintable# *paintable);
81 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
82 GtkWidgetcxx . . $ GtkWidget#* gtk_image_new_from_icon_namecxx . . $ gtk_image_new_from_icon_name(6d90f3ec8782e10d). (const char *icon_name);
83 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
84 GtkWidgetcxx . . $ GtkWidget#* gtk_image_new_from_giconcxx . . $ gtk_image_new_from_gicon(2f95dd6fac2a545a). (GIconcxx . . $ GIcon# *icon);
85
86 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
87 void gtk_image_clearcxx . . $ gtk_image_clear(e17aeca88b7ff75c). (GtkImagecxx . . $ GtkImage# *image);
88 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
89 void gtk_image_set_from_filecxx . . $ gtk_image_set_from_file(2393c303d3370daf). (GtkImagecxx . . $ GtkImage# *image,
90 const char *filename);
91 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
92 void gtk_image_set_from_resourcecxx . . $ gtk_image_set_from_resource(2393c303d3370daf). (GtkImagecxx . . $ GtkImage# *image,
93 const char *resource_path);
94 GDK_DEPRECATED_IN_4_12_FORcxx . . $ `build/gdk/version/gdk-visibility.h:242:9`!(gtk_image_set_from_paintable)
95 void gtk_image_set_from_pixbufcxx . . $ gtk_image_set_from_pixbuf(ca05b66cd9701079). (GtkImagecxx . . $ GtkImage# *image,
96 GdkPixbufcxx . . $ GdkPixbuf# *pixbuf);
97 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
98 void gtk_image_set_from_paintablecxx . . $ gtk_image_set_from_paintable(f9684481cacbb24e). (GtkImagecxx . . $ GtkImage# *image,
99 GdkPaintablecxx . . $ GdkPaintable# *paintable);
100 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
101 void gtk_image_set_from_icon_namecxx . . $ gtk_image_set_from_icon_name(2393c303d3370daf). (GtkImagecxx . . $ GtkImage# *image,
102 const char *icon_name);
103 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
104 void gtk_image_set_from_giconcxx . . $ gtk_image_set_from_gicon(43c238c24ef048d). (GtkImagecxx . . $ GtkImage# *image,
105 GIconcxx . . $ GIcon# *icon);
106 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
107 void gtk_image_set_pixel_sizecxx . . $ gtk_image_set_pixel_size(1b6c3440038c1390). (GtkImagecxx . . $ GtkImage# *image,
108 int pixel_size);
109 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
110 void gtk_image_set_icon_sizecxx . . $ gtk_image_set_icon_size(54293298fc61f4ed). (GtkImagecxx . . $ GtkImage# *image,
111 GtkIconSizecxx . . $ GtkIconSize# icon_size);
112
113 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
114 GtkImageTypecxx . . $ GtkImageType# gtk_image_get_storage_typecxx . . $ gtk_image_get_storage_type(614dfdd6cd981313). (GtkImagecxx . . $ GtkImage# *image);
115
116 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
117 GdkPaintablecxx . . $ GdkPaintable# *gtk_image_get_paintablecxx . . $ gtk_image_get_paintable(a20e38bb71f9e021). (GtkImagecxx . . $ GtkImage# *image);
118
119 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
120 const char *gtk_image_get_icon_namecxx . . $ gtk_image_get_icon_name(f44047a7f2c8f602). (GtkImagecxx . . $ GtkImage# *image);
121 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
122 GIconcxx . . $ GIcon# * gtk_image_get_giconcxx . . $ gtk_image_get_gicon(35c3502032e793ef). (GtkImagecxx . . $ GtkImage# *image);
123 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
124 int gtk_image_get_pixel_sizecxx . . $ gtk_image_get_pixel_size(ea5438ac04bcd855). (GtkImagecxx . . $ GtkImage# *image);
125 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
126 GtkIconSizecxx . . $ GtkIconSize# gtk_image_get_icon_sizecxx . . $ gtk_image_get_icon_size(7dabbb3a669bb195). (GtkImagecxx . . $ GtkImage# *image);
127
128 G_DEFINE_AUTOPTR_CLEANUP_FUNCcxx . . $ GSList#(GtkImage, g_object_unref)
129
130 G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`!
131