marco 1.29.1
Window manager
Loading...
Searching...
No Matches
preview-widget.h File Reference
View source
#include "theme.h"
#include <gtk/gtk.h>
#include <cairo/cairo.h>
Include dependency graph for preview-widget.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  _MetaPreview
 
struct  _MetaPreviewClass
 

Macros

#define META_TYPE_PREVIEW   (meta_preview_get_type ())
 
#define META_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_PREVIEW, MetaPreview))
 
#define META_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_PREVIEW, MetaPreviewClass))
 
#define META_IS_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_PREVIEW))
 
#define META_IS_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_PREVIEW))
 
#define META_PREVIEW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_PREVIEW, MetaPreviewClass))
 

Typedefs

typedef struct _MetaPreview MetaPreview
 
typedef struct _MetaPreviewClass MetaPreviewClass
 

Functions

GType meta_preview_get_type (void)
 
GtkWidget * meta_preview_new (void)
 
void meta_preview_set_theme (MetaPreview *preview, MetaTheme *theme)
 
void meta_preview_set_title (MetaPreview *preview, const char *title)
 
void meta_preview_set_frame_type (MetaPreview *preview, MetaFrameType type)
 
void meta_preview_set_frame_flags (MetaPreview *preview, MetaFrameFlags flags)
 
void meta_preview_set_button_layout (MetaPreview *preview, const MetaButtonLayout *button_layout)
 
cairo_region_t * meta_preview_get_clip_region (MetaPreview *preview, gint new_window_width, gint new_window_height)
 
GdkPixbuf * meta_preview_get_icon (void)
 
GdkPixbuf * meta_preview_get_mini_icon (void)
 

Macro Definition Documentation

◆ META_IS_PREVIEW

#define META_IS_PREVIEW (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_PREVIEW))

◆ META_IS_PREVIEW_CLASS

#define META_IS_PREVIEW_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_PREVIEW))

◆ META_PREVIEW

#define META_PREVIEW (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_PREVIEW, MetaPreview))

◆ META_PREVIEW_CLASS

#define META_PREVIEW_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_PREVIEW, MetaPreviewClass))

◆ META_PREVIEW_GET_CLASS

#define META_PREVIEW_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_PREVIEW, MetaPreviewClass))

◆ META_TYPE_PREVIEW

#define META_TYPE_PREVIEW   (meta_preview_get_type ())

Typedef Documentation

◆ MetaPreview

typedef struct _MetaPreview MetaPreview

◆ MetaPreviewClass

Function Documentation

◆ meta_preview_get_clip_region()

cairo_region_t * meta_preview_get_clip_region ( MetaPreview *  preview,
gint  new_window_width,
gint  new_window_height 
)

◆ meta_preview_get_icon()

GdkPixbuf * meta_preview_get_icon ( void  )

◆ meta_preview_get_mini_icon()

GdkPixbuf * meta_preview_get_mini_icon ( void  )

◆ meta_preview_get_type()

GType meta_preview_get_type ( void  )

◆ meta_preview_new()

GtkWidget * meta_preview_new ( void  )

◆ meta_preview_set_button_layout()

void meta_preview_set_button_layout ( MetaPreview *  preview,
const MetaButtonLayout *  button_layout 
)

◆ meta_preview_set_frame_flags()

void meta_preview_set_frame_flags ( MetaPreview *  preview,
MetaFrameFlags  flags 
)

References clear_cache(), _MetaPreview::flags, and META_IS_PREVIEW.

Referenced by preview_collection().

Here is the call graph for this function:

◆ meta_preview_set_frame_type()

void meta_preview_set_frame_type ( MetaPreview *  preview,
MetaFrameType  type 
)

References clear_cache(), META_IS_PREVIEW, and _MetaPreview::type.

Referenced by preview_collection().

Here is the call graph for this function:

◆ meta_preview_set_theme()

void meta_preview_set_theme ( MetaPreview *  preview,
MetaTheme *  theme 
)

References clear_cache(), META_IS_PREVIEW, and _MetaPreview::theme.

Referenced by preview_collection(), and previews_of_button_layouts().

Here is the call graph for this function:

◆ meta_preview_set_title()

void meta_preview_set_title ( MetaPreview *  preview,
const char *  title 
)

References clear_cache(), META_IS_PREVIEW, and _MetaPreview::title.

Referenced by preview_collection(), and previews_of_button_layouts().

Here is the call graph for this function: