Gnome::UI::ThumbnailFactory Class Reference
#include <thumbnail.h>
List of all members.
Public Member Functions |
virtual | ~ThumbnailFactory () |
GnomeThumbnailFactory * | gobj () |
| Provides access to the underlying C GObject.
|
const GnomeThumbnailFactory * | gobj () const |
| Provides access to the underlying C GObject.
|
GnomeThumbnailFactory * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
Glib::ustring | lookup (const Glib::ustring &uri, time_t mtime) const |
bool | has_valid_failed_thumbnail (const Glib::ustring &uri, time_t mtime) const |
bool | can_thumbnail (const Glib::ustring &uri, const Glib::ustring &mime_type, time_t mtime) const |
Glib::RefPtr< Gdk::Pixbuf > | generate_thumbnail (const Glib::ustring &uri, const Glib::ustring &mime_type) const |
void | save_thumbnail (const Glib::RefPtr< Gdk::Pixbuf > &thumbnail, const Glib::ustring &uri, time_t original_mtime) |
void | create_failed_thumbnail (const Glib::ustring &uri, time_t mtime) const |
Static Public Member Functions |
static Glib::RefPtr
< ThumbnailFactory > | create (ThumbnailSize size) |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr
< Gnome::UI::ThumbnailFactory > | wrap (GnomeThumbnailFactory *object, bool take_copy=false) |
| A Glib::wrap() method for this object.
|
Constructor & Destructor Documentation
virtual Gnome::UI::ThumbnailFactory::~ThumbnailFactory |
( |
|
) |
[virtual] |
Member Function Documentation
bool Gnome::UI::ThumbnailFactory::can_thumbnail |
( |
const Glib::ustring & |
uri, |
|
|
const Glib::ustring & |
mime_type, |
|
|
time_t |
mtime | |
|
) |
| | const |
void Gnome::UI::ThumbnailFactory::create_failed_thumbnail |
( |
const Glib::ustring & |
uri, |
|
|
time_t |
mtime | |
|
) |
| | const |
Glib::RefPtr<Gdk::Pixbuf> Gnome::UI::ThumbnailFactory::generate_thumbnail |
( |
const Glib::ustring & |
uri, |
|
|
const Glib::ustring & |
mime_type | |
|
) |
| | const |
const GnomeThumbnailFactory* Gnome::UI::ThumbnailFactory::gobj |
( |
|
) |
const [inline] |
Provides access to the underlying C GObject.
GnomeThumbnailFactory* Gnome::UI::ThumbnailFactory::gobj |
( |
|
) |
[inline] |
Provides access to the underlying C GObject.
GnomeThumbnailFactory* Gnome::UI::ThumbnailFactory::gobj_copy |
( |
|
) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
bool Gnome::UI::ThumbnailFactory::has_valid_failed_thumbnail |
( |
const Glib::ustring & |
uri, |
|
|
time_t |
mtime | |
|
) |
| | const |
Glib::ustring Gnome::UI::ThumbnailFactory::lookup |
( |
const Glib::ustring & |
uri, |
|
|
time_t |
mtime | |
|
) |
| | const |
void Gnome::UI::ThumbnailFactory::save_thumbnail |
( |
const Glib::RefPtr< Gdk::Pixbuf > & |
thumbnail, |
|
|
const Glib::ustring & |
uri, |
|
|
time_t |
original_mtime | |
|
) |
| | |
Friends And Related Function Documentation
A Glib::wrap() method for this object.
- Parameters:
-
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns:
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file: