3 #ifndef _GTKMM_FILEFILTER_H
4 #define _GTKMM_FILEFILTER_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 typedef struct _GtkFileFilterClass GtkFileFilterClass;
45 {
class FileFilter_Class; }
73 {
return static_cast<FileFilterFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
77 {
return static_cast<FileFilterFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
81 {
return static_cast<FileFilterFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
89 {
return (lhs =
static_cast<FileFilterFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
93 {
return (lhs =
static_cast<FileFilterFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
97 {
return (lhs =
static_cast<FileFilterFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
110 static GType value_type() G_GNUC_CONST;
140 #ifndef DOXYGEN_SHOULD_SKIP_THIS
144 typedef GtkFileFilterClass BaseClassType;
149 #ifndef DOXYGEN_SHOULD_SKIP_THIS
153 static CppClassType filefilter_class_;
160 explicit FileFilter(
const Glib::ConstructParams& construct_params);
166 #ifndef DOXYGEN_SHOULD_SKIP_THIS
167 static GType get_type() G_GNUC_CONST;
170 static GType get_base_type() G_GNUC_CONST;
Glib::ustring display_name
Glib::ustring get_name() const
Gtk::FileFilter * wrap(GtkFileFilter *object, bool take_copy=false)
FileFilterFlags get_needed() const
sigc::slot< bool, const Info & > SlotCustom
For instance, bool on_custom(const Gtk::FileFilter::Info& filter_info);.
GtkFileFilter * gobj()
Provides access to the underlying C GtkObject.
const GtkFileFilter * gobj() const
Provides access to the underlying C GtkObject.
void add_pixbuf_formats()
void add_pattern(const Glib::ustring &pattern)
void set_name(const Glib::ustring &name)
void add_custom(FileFilterFlags needed, const SlotCustom &slot)
void add_mime_type(const Glib::ustring &mime_type)
struct _GtkFileFilter GtkFileFilter
GtkImageIconNameData name