3 #ifndef _GTKMM_RECENTFILTER_H
4 #define _GTKMM_RECENTFILTER_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
30 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 typedef struct _GtkRecentFilterClass GtkRecentFilterClass;
37 {
class RecentFilter_Class; }
67 {
return static_cast<RecentFilterFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs)); }
71 {
return static_cast<RecentFilterFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs)); }
75 {
return static_cast<RecentFilterFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs)); }
83 {
return (lhs =
static_cast<RecentFilterFlags>(
static_cast<unsigned>(lhs) |
static_cast<unsigned>(rhs))); }
87 {
return (lhs =
static_cast<RecentFilterFlags>(
static_cast<unsigned>(lhs) &
static_cast<unsigned>(rhs))); }
91 {
return (lhs =
static_cast<RecentFilterFlags>(
static_cast<unsigned>(lhs) ^
static_cast<unsigned>(rhs))); }
96 #ifndef DOXYGEN_SHOULD_SKIP_THIS
104 static GType value_type() G_GNUC_CONST;
137 #ifndef DOXYGEN_SHOULD_SKIP_THIS
141 typedef GtkRecentFilterClass BaseClassType;
146 #ifndef DOXYGEN_SHOULD_SKIP_THIS
150 static CppClassType recentfilter_class_;
157 explicit RecentFilter(
const Glib::ConstructParams& construct_params);
163 #ifndef DOXYGEN_SHOULD_SKIP_THIS
164 static GType get_type() G_GNUC_CONST;
167 static GType get_base_type() G_GNUC_CONST;
std::list< Glib::ustring > applications
RecentFilterFlags contains
This bitmask tells us which of the other variables contain useful information.
Glib::ustring display_name
std::list< Glib::ustring > groups
void add_custom(RecentFilterFlags needed, const SlotCustom &slot)
Glib::ustring get_name() const
void add_group(const Glib::ustring &group)
void add_mime_type(const Glib::ustring &mime_type)
sigc::slot< bool, const Info & > SlotCustom
For instance, bool on_custom(const Gtk::RecentFilter::Info& filter_info);.
void set_name(const Glib::ustring &name)
void add_application(const Glib::ustring &application)
Gtk::RecentFilter * wrap(GtkRecentFilter *object, bool take_copy=false)
void add_pixbuf_formats()
const GtkRecentFilter * gobj() const
Provides access to the underlying C GtkObject.
RecentFilterFlags get_needed() const
void add_pattern(const Glib::ustring &pattern)
GtkRecentFilter * gobj()
Provides access to the underlying C GtkObject.
GtkImageIconNameData name
struct _GtkRecentFilter GtkRecentFilter