2
// Generated by gtkmmproc -- DO NOT MODIFY!
3
#ifndef _GTKMM_FILECHOOSERWIDGET_H
4
#define _GTKMM_FILECHOOSERWIDGET_H
9
/* $Id: filechooserwidget.hg,v 1.4 2005/11/30 14:10:49 murrayc Exp $ */
13
* Copyright (C) 1998-2002 The gtkmm Development Team
15
* This library is free software; you can redistribute it and/or
16
* modify it under the terms of the GNU Lesser General Public
17
* License as published by the Free Software Foundation; either
18
* version 2.1 of the License, or (at your option) any later version.
20
* This library is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
* Lesser General Public License for more details.
25
* You should have received a copy of the GNU Lesser General Public
26
* License along with this library; if not, write to the Free
27
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30
#include <gtkmm/box.h>
31
#include <gtkmm/filechooser.h>
34
#ifndef DOXYGEN_SHOULD_SKIP_THIS
35
typedef struct _GtkFileChooserWidget GtkFileChooserWidget;
36
typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass;
37
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
41
{ class FileChooserWidget_Class; } // namespace Gtk
45
/** File chooser widget that can be embedded in other widgets.
47
* FileChooserWidget is a widget suitable for selecting files. It is the main
48
* building block of a Gtk::FileChooserDialog. Most applications will only need to use
49
* the latter; you can use FileChooserWidget as part of a larger window if you have
55
class FileChooserWidget
60
#ifndef DOXYGEN_SHOULD_SKIP_THIS
61
typedef FileChooserWidget CppObjectType;
62
typedef FileChooserWidget_Class CppClassType;
63
typedef GtkFileChooserWidget BaseObjectType;
64
typedef GtkFileChooserWidgetClass BaseClassType;
65
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
67
virtual ~FileChooserWidget();
69
#ifndef DOXYGEN_SHOULD_SKIP_THIS
72
friend class FileChooserWidget_Class;
73
static CppClassType filechooserwidget_class_;
76
FileChooserWidget(const FileChooserWidget&);
77
FileChooserWidget& operator=(const FileChooserWidget&);
80
explicit FileChooserWidget(const Glib::ConstructParams& construct_params);
81
explicit FileChooserWidget(GtkFileChooserWidget* castitem);
83
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
86
#ifndef DOXYGEN_SHOULD_SKIP_THIS
87
static GType get_type() G_GNUC_CONST;
90
static GType get_base_type() G_GNUC_CONST;
93
///Provides access to the underlying C GtkObject.
94
GtkFileChooserWidget* gobj() { return reinterpret_cast<GtkFileChooserWidget*>(gobject_); }
96
///Provides access to the underlying C GtkObject.
97
const GtkFileChooserWidget* gobj() const { return reinterpret_cast<GtkFileChooserWidget*>(gobject_); }
101
//C++ methods used to invoke GTK+ virtual functions:
104
//GTK+ Virtual Functions (override these to change behaviour):
106
//Default Signal Handlers::
115
/** Creates a file chooser widget that can be embedded in other widgets.
117
* Creates a new FileChooserWidget. This is a file chooser widget that can be embedded in
118
* custom windows, and it is the same widget that is used by Gtk::FileChooserDialog.
120
* @param action Open or save mode for the widget
124
explicit FileChooserWidget(FileChooserAction action);
126
explicit FileChooserWidget(FileChooserAction action, const Glib::ustring& backend);
136
/** A Glib::wrap() method for this object.
138
* @param object The C instance.
139
* @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
140
* @result A C++ instance that wraps this C instance.
142
* @relates Gtk::FileChooserWidget
144
Gtk::FileChooserWidget* wrap(GtkFileChooserWidget* object, bool take_copy = false);
148
#endif /* _GTKMM_FILECHOOSERWIDGET_H */