3 #ifndef _GTKMM_RECENTINFO_H
4 #define _GTKMM_RECENTINFO_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
78 void operator delete(
void*, std::size_t);
93 operator bool()
const;
180 guint& count, time_t& time)
const;
244 Glib::RefPtr<const Gdk::Pixbuf>
get_icon(
int size)
const;
301 #ifndef DOXYGEN_SHOULD_SKIP_THIS
303 struct RecentInfoTraits
305 typedef Glib::RefPtr<RecentInfo> CppType;
309 static inline CType to_c_type(
const CppType& obj) {
return Glib::unwrap(obj); }
310 static inline CType to_c_type(
const CType& obj) {
return obj; }
311 static CppType to_cpp_type(
const CType& obj);
312 static inline void release_c_type(
const CType& obj)
321 {
return lhs.
equal(rhs); }
325 {
return !lhs.
equal(rhs); }
335 class Value<
Glib::RefPtr<Gtk::RecentInfo> > :
public ValueBase_Boxed
338 typedef Glib::RefPtr<Gtk::RecentInfo>
CppType;
void set(const CppType &data)
Glib::RefPtr< Gtk::RecentInfo > CppType
static GType value_type()
RecentInfo & operator=(const RecentInfo &)
Glib::RefPtr< const Gdk::Pixbuf > get_icon(int size) const
bool equal(const RecentInfo &b) const
Glib::StringArrayHandle get_applications() const
bool get_application_info(const Glib::ustring &app_name, std::string &app_exec, guint &count, time_t &time) const
bool has_application(const Glib::ustring &app_name) const
Glib::ustring get_mime_type() const
const GtkRecentInfo * gobj() const
Provides access to the underlying C instance.
GtkRecentInfo * gobj_copy() const
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::ustring get_short_name() const
bool has_group(const Glib::ustring &group) const
time_t get_visited() const
Glib::ustring get_uri_display() const
Glib::ustring get_display_name() const
Glib::StringArrayHandle get_groups() const
Glib::RefPtr< Gdk::Pixbuf > get_icon(int size)
Glib::ustring get_description() const
Glib::RefPtr< Gtk::RecentInfo > wrap(GtkRecentInfo *object, bool take_copy=false)
Glib::ustring last_application() const
GtkRecentInfo * gobj()
Provides access to the underlying C instance.
bool get_private_hint() const
time_t get_modified() const
bool operator==(const RecentInfo &lhs, const RecentInfo &rhs)
Glib::ustring get_uri() const
RecentInfo(const RecentInfo &)
bool operator!=(const RecentInfo &lhs, const RecentInfo &rhs)
struct _GtkRecentInfo GtkRecentInfo
void gtk_recent_info_unref(GtkRecentInfo *info)