/* Copyright (C) 1998-2002 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ #include #include _DEFS(gtkmm,gtk) _PINCLUDE(gtkmm/private/hvbox_p.h) namespace Gtk { /** File chooser widget that can be embedded in other widgets. * * FileChooserWidget is a widget suitable for selecting files. It is the main * building block of a Gtk::FileChooserDialog. Most applications will only need to use * the latter; you can use FileChooserWidget as part of a larger window if you have * special needs. * * @ingroup Widgets */ class GTKMM_API FileChooserWidget : public VBox, public FileChooser { _CLASS_GTKOBJECT(FileChooserWidget, GtkFileChooserWidget, GTK_FILE_CHOOSER_WIDGET, Gtk::VBox, GtkVBox, , , GTKMM_API) _IMPLEMENTS_INTERFACE(FileChooser) public: _CTOR_DEFAULT; /** Creates a file chooser widget that can be embedded in other widgets. * * Creates a new FileChooserWidget. This is a file chooser widget that can be embedded in * custom windows, and it is the same widget that is used by Gtk::FileChooserDialog. * * @param action Open or save mode for the widget * * @newin{2,4} */ _WRAP_CTOR(FileChooserWidget(FileChooserAction action), gtk_file_chooser_widget_new) }; } // namespace Gtk