Logo Search packages:      
Sourcecode: inkscape version File versions

eek-preview.h File Reference


Detailed Description

EEK preview stuff.

Definition in file eek-preview.h.

#include <gdk/gdkpixbuf.h>
#include <gtk/gtkdrawingarea.h>

Go to the source code of this file.

Classes

struct  _EekPreview
struct  _EekPreviewClass

Defines

#define EEK_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_CAST( (obj), EEK_PREVIEW_TYPE, EekPreview))
#define EEK_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST( (klass), EEK_PREVIEW_TYPE, EekPreviewClass))
#define EEK_PREVIEW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS( (obj), EEK_PREVIEW_TYPE, EekPreviewClass))
#define EEK_PREVIEW_TYPE   (eek_preview_get_type())
#define IS_EEK_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_TYPE( (obj), EEK_PREVIEW_TYPE))
#define IS_EEK_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE( (klass), EEK_PREVIEW_TYPE))

Typedefs

typedef struct _EekPreview EekPreview
typedef struct _EekPreviewClass EekPreviewClass

Enumerations

enum  LinkType {
  PREVIEW_LINK_NONE = 0, PREVIEW_LINK_IN = 1, PREVIEW_LINK_OUT = 2, PREVIEW_LINK_OTHER = 4,
  PREVIEW_FILL = 8, PREVIEW_STROKE = 16, PREVIEW_LINK_ALL = 31
}
enum  PreviewSize {
  PREVIEW_SIZE_TINY = 0, PREVIEW_SIZE_SMALL, PREVIEW_SIZE_MEDIUM, PREVIEW_SIZE_BIG,
  PREVIEW_SIZE_BIGGER, PREVIEW_SIZE_HUGE
}
enum  PreviewStyle {
  PREVIEW_STYLE_ICON = 0, PREVIEW_STYLE_PREVIEW, PREVIEW_STYLE_NAME, PREVIEW_STYLE_BLURB,
  PREVIEW_STYLE_ICON_NAME, PREVIEW_STYLE_ICON_BLURB, PREVIEW_STYLE_PREVIEW_NAME, PREVIEW_STYLE_PREVIEW_BLURB
}
enum  ViewType { VIEW_TYPE_LIST = 0, VIEW_TYPE_GRID }

Functions

gboolean eek_preview_get_focus_on_click (EekPreview *preview)
LinkType eek_preview_get_linked (EekPreview *splat)
GType eek_preview_get_type (void) G_GNUC_CONST
GtkWidget * eek_preview_new (void)
void eek_preview_set_color (EekPreview *splat, int r, int g, int b)
void eek_preview_set_details (EekPreview *splat, PreviewStyle prevstyle, ViewType view, PreviewSize size, guint ratio)
void eek_preview_set_focus_on_click (EekPreview *preview, gboolean focus_on_click)
void eek_preview_set_linked (EekPreview *splat, LinkType link)
void eek_preview_set_pixbuf (EekPreview *splat, GdkPixbuf *pixbuf)
void eek_preview_set_size_mappings (guint count, GtkIconSize const *sizes)


Generated by  Doxygen 1.6.0   Back to index