2005-05-13 16:47:18 -04:00
|
|
|
// Generated by gtkmmproc -- DO NOT MODIFY!
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
#include <gtkmm/filechooser.h>
|
|
|
|
#include <gtkmm/private/filechooser_p.h>
|
|
|
|
|
|
|
|
// -*- c++ -*-
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/* Copyright 2003 The gtkmm Development Team
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 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
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the Free
|
|
|
|
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gtk/gtkfilechooser.h>
|
|
|
|
//#include <gtk/gtkfilesystem.h> //We include this semi-private header just to get GTK_FILE_SYSTEM_ERROR.
|
|
|
|
|
|
|
|
|
|
|
|
namespace
|
|
|
|
{
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
|
|
|
|
static const Glib::SignalProxyInfo FileChooser_signal_current_folder_changed_info =
|
2005-05-13 16:47:18 -04:00
|
|
|
{
|
|
|
|
"current_folder_changed",
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
static const Glib::SignalProxyInfo FileChooser_signal_selection_changed_info =
|
2005-05-13 16:47:18 -04:00
|
|
|
{
|
|
|
|
"selection_changed",
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
static const Glib::SignalProxyInfo FileChooser_signal_update_preview_info =
|
2005-05-13 16:47:18 -04:00
|
|
|
{
|
|
|
|
"update_preview",
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
static const Glib::SignalProxyInfo FileChooser_signal_file_activated_info =
|
2005-05-13 16:47:18 -04:00
|
|
|
{
|
|
|
|
"file_activated",
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
|
|
|
|
(GCallback) &Glib::SignalProxyNormal::slot0_void_callback
|
|
|
|
};
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
|
|
|
|
static GtkFileChooserConfirmation FileChooser_signal_confirm_overwrite_callback(GtkFileChooser* self, void* data)
|
|
|
|
{
|
|
|
|
using namespace Gtk;
|
|
|
|
typedef sigc::slot< FileChooserConfirmation > SlotType;
|
|
|
|
|
|
|
|
// Do not try to call a signal on a disassociated wrapper.
|
|
|
|
if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
|
|
|
|
{
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
try
|
|
|
|
{
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
|
|
|
|
return ((GtkFileChooserConfirmation)((*static_cast<SlotType*>(slot))()));
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
}
|
|
|
|
catch(...)
|
|
|
|
{
|
|
|
|
Glib::exception_handlers_invoke();
|
|
|
|
}
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
}
|
|
|
|
|
|
|
|
typedef GtkFileChooserConfirmation RType;
|
|
|
|
return RType();
|
|
|
|
}
|
|
|
|
|
|
|
|
static GtkFileChooserConfirmation FileChooser_signal_confirm_overwrite_notify_callback(GtkFileChooser* self, void* data)
|
|
|
|
{
|
|
|
|
using namespace Gtk;
|
|
|
|
typedef sigc::slot< void > SlotType;
|
|
|
|
|
|
|
|
// Do not try to call a signal on a disassociated wrapper.
|
|
|
|
if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
|
|
|
|
{
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
try
|
|
|
|
{
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
|
|
|
|
(*static_cast<SlotType*>(slot))();
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
}
|
|
|
|
catch(...)
|
|
|
|
{
|
|
|
|
Glib::exception_handlers_invoke();
|
|
|
|
}
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
}
|
|
|
|
|
|
|
|
typedef GtkFileChooserConfirmation RType;
|
|
|
|
return RType();
|
|
|
|
}
|
|
|
|
|
|
|
|
static const Glib::SignalProxyInfo FileChooser_signal_confirm_overwrite_info =
|
|
|
|
{
|
|
|
|
"confirm-overwrite",
|
|
|
|
(GCallback) &FileChooser_signal_confirm_overwrite_callback,
|
|
|
|
(GCallback) &FileChooser_signal_confirm_overwrite_notify_callback
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
} // anonymous namespace
|
|
|
|
|
|
|
|
// static
|
|
|
|
GType Glib::Value<Gtk::FileChooserAction>::value_type()
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_action_get_type();
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
// static
|
|
|
|
GType Glib::Value<Gtk::FileChooserConfirmation>::value_type()
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_confirmation_get_type();
|
|
|
|
}
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
|
|
|
|
Gtk::FileChooserError::FileChooserError(Gtk::FileChooserError::Code error_code, const Glib::ustring& error_message)
|
|
|
|
:
|
|
|
|
Glib::Error (GTK_FILE_CHOOSER_ERROR, error_code, error_message)
|
|
|
|
{}
|
|
|
|
|
|
|
|
Gtk::FileChooserError::FileChooserError(GError* gobject)
|
|
|
|
:
|
|
|
|
Glib::Error (gobject)
|
|
|
|
{}
|
|
|
|
|
|
|
|
Gtk::FileChooserError::Code Gtk::FileChooserError::code() const
|
|
|
|
{
|
|
|
|
return static_cast<Code>(Glib::Error::code());
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
void Gtk::FileChooserError::throw_func(GError* gobject)
|
|
|
|
{
|
|
|
|
throw Gtk::FileChooserError(gobject);
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#else
|
|
|
|
//When not using exceptions, we just pass the Exception object around without throwing it:
|
|
|
|
std::auto_ptr<Glib::Error> Gtk::FileChooserError::throw_func(GError* gobject)
|
|
|
|
{
|
|
|
|
return std::auto_ptr<Glib::Error>(new Gtk::FileChooserError(gobject));
|
|
|
|
}
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
|
|
|
// static
|
|
|
|
GType Glib::Value<Gtk::FileChooserError::Code>::value_type()
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_error_get_type();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
namespace Glib
|
|
|
|
{
|
|
|
|
|
|
|
|
Glib::RefPtr<Gtk::FileChooser> wrap(GtkFileChooser* object, bool take_copy)
|
|
|
|
{
|
|
|
|
return Glib::RefPtr<Gtk::FileChooser>( dynamic_cast<Gtk::FileChooser*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
|
|
|
|
//We use dynamic_cast<> in case of multiple inheritance.
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace Glib
|
|
|
|
|
|
|
|
|
|
|
|
namespace Gtk
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/* The *_Class implementation: */
|
|
|
|
|
|
|
|
const Glib::Interface_Class& FileChooser_Class::init()
|
|
|
|
{
|
|
|
|
if(!gtype_) // create the GType if necessary
|
|
|
|
{
|
|
|
|
// Glib::Interface_Class has to know the interface init function
|
|
|
|
// in order to add interfaces to implementing types.
|
|
|
|
class_init_func_ = &FileChooser_Class::iface_init_function;
|
|
|
|
|
|
|
|
// We can not derive from another interface, and it is not necessary anyway.
|
|
|
|
gtype_ = gtk_file_chooser_get_type();
|
|
|
|
}
|
|
|
|
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser_Class::iface_init_function(void* g_iface, void*)
|
|
|
|
{
|
|
|
|
BaseClassType *const klass = static_cast<BaseClassType*>(g_iface);
|
|
|
|
|
|
|
|
//This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect.
|
|
|
|
//This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc
|
|
|
|
g_assert(klass != 0);
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_VFUNCS_ENABLED
|
|
|
|
#endif //GLIBMM_VFUNCS_ENABLED
|
|
|
|
|
|
|
|
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_VFUNCS_ENABLED
|
|
|
|
#endif //GLIBMM_VFUNCS_ENABLED
|
|
|
|
|
|
|
|
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
|
|
|
|
Glib::ObjectBase* FileChooser_Class::wrap_new(GObject* object)
|
|
|
|
{
|
|
|
|
return new FileChooser((GtkFileChooser*)(object));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* The implementation: */
|
|
|
|
|
|
|
|
FileChooser::FileChooser()
|
|
|
|
:
|
|
|
|
Glib::Interface(filechooser_class_.init())
|
|
|
|
{}
|
|
|
|
|
|
|
|
FileChooser::FileChooser(GtkFileChooser* castitem)
|
|
|
|
:
|
|
|
|
Glib::Interface((GObject*)(castitem))
|
|
|
|
{}
|
|
|
|
|
|
|
|
FileChooser::~FileChooser()
|
|
|
|
{}
|
|
|
|
|
|
|
|
// static
|
|
|
|
void FileChooser::add_interface(GType gtype_implementer)
|
|
|
|
{
|
|
|
|
filechooser_class_.init().add_interface(gtype_implementer);
|
|
|
|
}
|
|
|
|
|
|
|
|
FileChooser::CppClassType FileChooser::filechooser_class_; // initialize static member
|
|
|
|
|
|
|
|
GType FileChooser::get_type()
|
|
|
|
{
|
|
|
|
return filechooser_class_.init().get_type();
|
|
|
|
}
|
|
|
|
|
|
|
|
GType FileChooser::get_base_type()
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_type();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void FileChooser::set_action(FileChooserAction action)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_action(gobj(), ((GtkFileChooserAction)(action)));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
FileChooserAction FileChooser::get_action() const
|
|
|
|
{
|
|
|
|
return ((FileChooserAction)(gtk_file_chooser_get_action(const_cast<GtkFileChooser*>(gobj()))));
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_local_only(bool local_only)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_local_only(gobj(), static_cast<int>(local_only));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::get_local_only() const
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_local_only(const_cast<GtkFileChooser*>(gobj()));
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_select_multiple(bool select_multiple)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_select_multiple(gobj(), static_cast<int>(select_multiple));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::get_select_multiple() const
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_select_multiple(const_cast<GtkFileChooser*>(gobj()));
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_show_hidden(bool show_hidden)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_show_hidden(gobj(), static_cast<int>(show_hidden));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::get_show_hidden() const
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_show_hidden(const_cast<GtkFileChooser*>(gobj()));
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
void FileChooser::set_do_overwrite_confirmation(bool do_overwrite_confirmation)
|
|
|
|
{
|
|
|
|
gtk_file_chooser_set_do_overwrite_confirmation(gobj(), static_cast<int>(do_overwrite_confirmation));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::get_do_overwrite_confirmation() const
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_do_overwrite_confirmation(const_cast<GtkFileChooser*>(gobj()));
|
|
|
|
}
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
void FileChooser::set_current_name(const Glib::ustring& name)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_current_name(gobj(), name.c_str());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Glib::ustring FileChooser::get_filename() const
|
|
|
|
{
|
|
|
|
return Glib::convert_return_gchar_ptr_to_ustring(gtk_file_chooser_get_filename(const_cast<GtkFileChooser*>(gobj())));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::set_filename(const Glib::ustring& filename)
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_set_filename(gobj(), filename.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::select_filename(const Glib::ustring& filename)
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_select_filename(gobj(), filename.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::unselect_filename(const Glib::ustring& filename)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_unselect_filename(gobj(), filename.c_str());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::select_all()
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_select_all(gobj());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::unselect_all()
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_unselect_all(gobj());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Glib::SListHandle<Glib::ustring> FileChooser::get_filenames() const
|
|
|
|
{
|
|
|
|
return Glib::SListHandle<Glib::ustring>(gtk_file_chooser_get_filenames(const_cast<GtkFileChooser*>(gobj())), Glib::OWNERSHIP_DEEP);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::set_current_folder(const Glib::ustring& filename)
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_set_current_folder(gobj(), filename.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
Glib::ustring FileChooser::get_current_folder() const
|
|
|
|
{
|
|
|
|
return Glib::convert_return_gchar_ptr_to_ustring(gtk_file_chooser_get_current_folder(const_cast<GtkFileChooser*>(gobj())));
|
|
|
|
}
|
|
|
|
|
|
|
|
Glib::ustring FileChooser::get_uri() const
|
|
|
|
{
|
|
|
|
return Glib::convert_return_gchar_ptr_to_ustring(gtk_file_chooser_get_uri(const_cast<GtkFileChooser*>(gobj())));
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::set_uri(const Glib::ustring& uri)
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_set_uri(gobj(), uri.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::select_uri(const Glib::ustring& uri)
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_select_uri(gobj(), uri.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::unselect_uri(const Glib::ustring& uri)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_unselect_uri(gobj(), uri.c_str());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Glib::SListHandle<Glib::ustring> FileChooser::get_uris() const
|
|
|
|
{
|
|
|
|
return Glib::SListHandle<Glib::ustring>(gtk_file_chooser_get_uris(const_cast<GtkFileChooser*>(gobj())), Glib::OWNERSHIP_DEEP);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::set_current_folder_uri(const Glib::ustring& uri)
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_set_current_folder_uri(gobj(), uri.c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
Glib::ustring FileChooser::get_current_folder_uri() const
|
|
|
|
{
|
|
|
|
return Glib::convert_return_gchar_ptr_to_ustring(gtk_file_chooser_get_current_folder_uri(const_cast<GtkFileChooser*>(gobj())));
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_preview_widget(Gtk::Widget& preview_widget)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_preview_widget(gobj(), (preview_widget).gobj());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
const Gtk::Widget* FileChooser::get_preview_widget() const
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
return const_cast<FileChooser*>(this)->get_preview_widget();
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Gtk::Widget* FileChooser::get_preview_widget()
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
return const_cast<FileChooser*>(this)->get_preview_widget();
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_preview_widget_active(bool active)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_preview_widget_active(gobj(), static_cast<int>(active));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::get_preview_widget_active() const
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_preview_widget_active(const_cast<GtkFileChooser*>(gobj()));
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_use_preview_label(bool use_label)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_use_preview_label(gobj(), static_cast<int>(use_label));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
bool FileChooser::get_use_preview_label() const
|
|
|
|
{
|
|
|
|
return gtk_file_chooser_get_use_preview_label(const_cast<GtkFileChooser*>(gobj()));
|
|
|
|
}
|
|
|
|
|
|
|
|
Glib::ustring FileChooser::get_preview_filename() const
|
|
|
|
{
|
|
|
|
return Glib::convert_return_gchar_ptr_to_ustring(gtk_file_chooser_get_preview_filename(const_cast<GtkFileChooser*>(gobj())));
|
|
|
|
}
|
|
|
|
|
|
|
|
Glib::ustring FileChooser::get_preview_uri() const
|
|
|
|
{
|
|
|
|
return Glib::convert_return_gchar_ptr_to_ustring(gtk_file_chooser_get_preview_uri(const_cast<GtkFileChooser*>(gobj())));
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_extra_widget(Gtk::Widget& extra_widget)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_extra_widget(gobj(), (extra_widget).gobj());
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Gtk::Widget* FileChooser::get_extra_widget()
|
|
|
|
{
|
|
|
|
return Glib::wrap(gtk_file_chooser_get_extra_widget(gobj()));
|
|
|
|
}
|
|
|
|
|
|
|
|
const Gtk::Widget* FileChooser::get_extra_widget() const
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
return const_cast<FileChooser*>(this)->get_extra_widget();
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::add_filter(const FileFilter& filter)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_add_filter(gobj(), const_cast<GtkFileFilter*>((filter).gobj()));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::remove_filter(const FileFilter& filter)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_remove_filter(gobj(), const_cast<GtkFileFilter*>((filter).gobj()));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Glib::SListHandle< FileFilter* > FileChooser::list_filters()
|
|
|
|
{
|
|
|
|
return Glib::SListHandle< FileFilter* >(gtk_file_chooser_list_filters(gobj()), Glib::OWNERSHIP_SHALLOW);
|
|
|
|
}
|
|
|
|
|
|
|
|
Glib::SListHandle< const FileFilter* > FileChooser::list_filters() const
|
|
|
|
{
|
|
|
|
return Glib::SListHandle< const FileFilter* >(gtk_file_chooser_list_filters(const_cast<GtkFileChooser*>(gobj())), Glib::OWNERSHIP_SHALLOW);
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileChooser::set_filter(const FileFilter& filter)
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
gtk_file_chooser_set_filter(gobj(), const_cast<GtkFileFilter*>((filter).gobj()));
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
FileFilter* FileChooser::get_filter()
|
|
|
|
{
|
|
|
|
|
|
|
|
FileFilter* retvalue = Glib::wrap(gtk_file_chooser_get_filter(gobj()));
|
|
|
|
if(retvalue)
|
|
|
|
retvalue->reference(); //The function does not do a ref for us.
|
|
|
|
return retvalue;
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
const FileFilter* FileChooser::get_filter() const
|
|
|
|
{
|
2007-11-12 18:44:49 -05:00
|
|
|
return const_cast<FileChooser*>(this)->get_filter();
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
bool FileChooser::add_shortcut_folder(const Glib::ustring& folder)
|
2007-11-12 18:44:49 -05:00
|
|
|
#else
|
|
|
|
bool FileChooser::add_shortcut_folder(const Glib::ustring& folder, std::auto_ptr<Glib::Error>& error)
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
{
|
|
|
|
GError* gerror = 0;
|
|
|
|
bool retvalue = gtk_file_chooser_add_shortcut_folder(gobj(), folder.c_str(), &(gerror));
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
if(gerror)
|
|
|
|
::Glib::Error::throw_exception(gerror);
|
|
|
|
#else
|
|
|
|
if(gerror)
|
|
|
|
error = ::Glib::Error::throw_exception(gerror);
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
return retvalue;
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
bool FileChooser::remove_shortcut_folder(const Glib::ustring& folder)
|
2007-11-12 18:44:49 -05:00
|
|
|
#else
|
|
|
|
bool FileChooser::remove_shortcut_folder(const Glib::ustring& folder, std::auto_ptr<Glib::Error>& error)
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
{
|
|
|
|
GError* gerror = 0;
|
|
|
|
bool retvalue = gtk_file_chooser_remove_shortcut_folder(gobj(), folder.c_str(), &(gerror));
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
if(gerror)
|
|
|
|
::Glib::Error::throw_exception(gerror);
|
|
|
|
#else
|
|
|
|
if(gerror)
|
|
|
|
error = ::Glib::Error::throw_exception(gerror);
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
return retvalue;
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Glib::SListHandle<Glib::ustring> FileChooser::list_shortcut_folders() const
|
|
|
|
{
|
|
|
|
return Glib::SListHandle<Glib::ustring>(gtk_file_chooser_list_shortcut_folders(const_cast<GtkFileChooser*>(gobj())), Glib::OWNERSHIP_DEEP);
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
bool FileChooser::add_shortcut_folder_uri(const Glib::ustring& uri)
|
2007-11-12 18:44:49 -05:00
|
|
|
#else
|
|
|
|
bool FileChooser::add_shortcut_folder_uri(const Glib::ustring& uri, std::auto_ptr<Glib::Error>& error)
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
{
|
|
|
|
GError* gerror = 0;
|
|
|
|
bool retvalue = gtk_file_chooser_add_shortcut_folder_uri(gobj(), uri.c_str(), &(gerror));
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
if(gerror)
|
|
|
|
::Glib::Error::throw_exception(gerror);
|
|
|
|
#else
|
|
|
|
if(gerror)
|
|
|
|
error = ::Glib::Error::throw_exception(gerror);
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
return retvalue;
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
bool FileChooser::remove_shortcut_folder_uri(const Glib::ustring& uri)
|
2007-11-12 18:44:49 -05:00
|
|
|
#else
|
|
|
|
bool FileChooser::remove_shortcut_folder_uri(const Glib::ustring& uri, std::auto_ptr<Glib::Error>& error)
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
{
|
|
|
|
GError* gerror = 0;
|
|
|
|
bool retvalue = gtk_file_chooser_remove_shortcut_folder_uri(gobj(), uri.c_str(), &(gerror));
|
|
|
|
#ifdef GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
if(gerror)
|
|
|
|
::Glib::Error::throw_exception(gerror);
|
|
|
|
#else
|
|
|
|
if(gerror)
|
|
|
|
error = ::Glib::Error::throw_exception(gerror);
|
|
|
|
#endif //GLIBMM_EXCEPTIONS_ENABLED
|
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
return retvalue;
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
Glib::SListHandle<Glib::ustring> FileChooser::list_shortcut_folder_uris() const
|
|
|
|
{
|
|
|
|
return Glib::SListHandle<Glib::ustring>(gtk_file_chooser_list_shortcut_folder_uris(const_cast<GtkFileChooser*>(gobj())), Glib::OWNERSHIP_DEEP);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Glib::SignalProxy0< void > FileChooser::signal_current_folder_changed()
|
|
|
|
{
|
|
|
|
return Glib::SignalProxy0< void >(this, &FileChooser_signal_current_folder_changed_info);
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::SignalProxy0< void > FileChooser::signal_selection_changed()
|
|
|
|
{
|
|
|
|
return Glib::SignalProxy0< void >(this, &FileChooser_signal_selection_changed_info);
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::SignalProxy0< void > FileChooser::signal_update_preview()
|
|
|
|
{
|
|
|
|
return Glib::SignalProxy0< void >(this, &FileChooser_signal_update_preview_info);
|
|
|
|
}
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::SignalProxy0< void > FileChooser::signal_file_activated()
|
|
|
|
{
|
|
|
|
return Glib::SignalProxy0< void >(this, &FileChooser_signal_file_activated_info);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
Glib::SignalProxy0< FileChooserConfirmation > FileChooser::signal_confirm_overwrite()
|
|
|
|
{
|
|
|
|
return Glib::SignalProxy0< FileChooserConfirmation >(this, &FileChooser_signal_confirm_overwrite_info);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<FileChooserAction> FileChooser::property_action()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<FileChooserAction>(this, "action");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<FileChooserAction> FileChooser::property_action() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<FileChooserAction>(this, "action");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<FileFilter*> FileChooser::property_filter()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<FileFilter*>(this, "filter");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<FileFilter*> FileChooser::property_filter() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<FileFilter*>(this, "filter");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_folder_mode()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "folder-mode");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_folder_mode() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "folder-mode");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_local_only()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "local-only");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_local_only() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "local-only");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<Widget*> FileChooser::property_preview_widget()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<Widget*>(this, "preview-widget");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<Widget*> FileChooser::property_preview_widget() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<Widget*>(this, "preview-widget");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_preview_widget_active()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "preview-widget-active");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_preview_widget_active() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "preview-widget-active");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_use_preview_label()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "use-preview-label");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_use_preview_label() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "use-preview-label");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<Widget*> FileChooser::property_extra_widget()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<Widget*>(this, "extra-widget");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<Widget*> FileChooser::property_extra_widget() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<Widget*>(this, "extra-widget");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_select_multiple()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "select-multiple");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_select_multiple() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "select-multiple");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_show_hidden()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "show-hidden");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
2007-11-12 18:44:49 -05:00
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_show_hidden() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "show-hidden");
|
|
|
|
}
|
2007-11-12 18:44:49 -05:00
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
|
|
Glib::PropertyProxy<bool> FileChooser::property_do_overwrite_confirmation()
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy<bool>(this, "do-overwrite-confirmation");
|
|
|
|
}
|
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
|
|
Glib::PropertyProxy_ReadOnly<bool> FileChooser::property_do_overwrite_confirmation() const
|
|
|
|
{
|
|
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "do-overwrite-confirmation");
|
|
|
|
}
|
|
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
|
|
|
|
#ifdef GLIBMM_VFUNCS_ENABLED
|
|
|
|
#endif //GLIBMM_VFUNCS_ENABLED
|
2005-05-13 16:47:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace Gtk
|
|
|
|
|
|
|
|
|