Ardour  9.0-pre0-384-ga76afae0e9
gtkfilechooserembed.h
Go to the documentation of this file.
1 /* GTK - The GIMP Toolkit
2  * gtkfilechooserembed.h: Abstract sizing interface for file selector implementations
3  * Copyright (C) 2004, Red Hat, Inc.
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_FILE_CHOOSER_EMBED_H__
22 #define __GTK_FILE_CHOOSER_EMBED_H__
23 
24 #include <gtk/gtkwidget.h>
25 
26 G_BEGIN_DECLS
27 
28 #define GTK_TYPE_FILE_CHOOSER_EMBED (_gtk_file_chooser_embed_get_type ())
29 #define GTK_FILE_CHOOSER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_EMBED, GtkFileChooserEmbed))
30 #define GTK_IS_FILE_CHOOSER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_EMBED))
31 #define GTK_FILE_CHOOSER_EMBED_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_FILE_CHOOSER_EMBED, GtkFileChooserEmbedIface))
32 
33 typedef struct _GtkFileChooserEmbed GtkFileChooserEmbed;
35 
36 
38 {
39  GTypeInterface base_iface;
40 
41  /* Methods
42  */
43  void (*get_default_size) (GtkFileChooserEmbed *chooser_embed,
44  gint *default_width,
45  gint *default_height);
46 
47  gboolean (*should_respond) (GtkFileChooserEmbed *chooser_embed);
48 
49  void (*initial_focus) (GtkFileChooserEmbed *chooser_embed);
50  /* Signals
51  */
52  void (*default_size_changed) (GtkFileChooserEmbed *chooser_embed);
53  void (*response_requested) (GtkFileChooserEmbed *chooser_embed);
54 };
55 
56 GType _gtk_file_chooser_embed_get_type (void) G_GNUC_CONST;
57 
59  gint *default_width,
60  gint *default_height);
62 
64 
67  GtkFileChooserEmbed *delegate);
68 
69 G_END_DECLS
70 
71 #endif /* __GTK_FILE_CHOOSER_EMBED_H__ */
struct _GtkFileChooserEmbed GtkFileChooserEmbed
void _gtk_file_chooser_embed_set_delegate(GtkFileChooserEmbed *receiver, GtkFileChooserEmbed *delegate)
GType _gtk_file_chooser_embed_get_type(void) G_GNUC_CONST
void _gtk_file_chooser_embed_initial_focus(GtkFileChooserEmbed *chooser_embed)
void _gtk_file_chooser_embed_get_default_size(GtkFileChooserEmbed *chooser_embed, gint *default_width, gint *default_height)
gboolean _gtk_file_chooser_embed_should_respond(GtkFileChooserEmbed *chooser_embed)
void _gtk_file_chooser_embed_delegate_iface_init(GtkFileChooserEmbedIface *iface)
void(* initial_focus)(GtkFileChooserEmbed *chooser_embed)
void(* get_default_size)(GtkFileChooserEmbed *chooser_embed, gint *default_width, gint *default_height)
void(* response_requested)(GtkFileChooserEmbed *chooser_embed)
void(* default_size_changed)(GtkFileChooserEmbed *chooser_embed)
gboolean(* should_respond)(GtkFileChooserEmbed *chooser_embed)