20 #ifndef __GTK_CELL_RENDERER_H__
21 #define __GTK_CELL_RENDERER_H__
23 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
24 #error "Only <gtk/gtk.h> can be included directly."
48 #define GTK_TYPE_CELL_RENDERER (gtk_cell_renderer_get_type ())
49 #define GTK_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRenderer))
50 #define GTK_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass))
51 #define GTK_IS_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER))
52 #define GTK_IS_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER))
53 #define GTK_CELL_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass))
71 guint
GSEAL (mode) : 2;
72 guint
GSEAL (visible) : 1;
73 guint
GSEAL (is_expander) : 1;
74 guint
GSEAL (is_expanded) : 1;
75 guint
GSEAL (cell_background_set) : 1;
76 guint
GSEAL (sensitive) : 1;
77 guint
GSEAL (editing) : 1;
186 #ifndef GTK_DISABLE_DEPRECATED
struct _GtkCellEditable GtkCellEditable
void gtk_cell_renderer_get_fixed_size(GtkCellRenderer *cell, gint *width, gint *height)
void gtk_cell_renderer_set_alignment(GtkCellRenderer *cell, gfloat xalign, gfloat yalign)
void gtk_cell_renderer_get_size(GtkCellRenderer *cell, GtkWidget *widget, const GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height)
@ GTK_CELL_RENDERER_PRELIT
@ GTK_CELL_RENDERER_SORTED
@ GTK_CELL_RENDERER_INSENSITIVE
@ GTK_CELL_RENDERER_SELECTED
@ GTK_CELL_RENDERER_FOCUSED
void gtk_cell_renderer_get_alignment(GtkCellRenderer *cell, gfloat *xalign, gfloat *yalign)
GType gtk_cell_renderer_get_type(void) G_GNUC_CONST
GtkCellEditable * gtk_cell_renderer_start_editing(GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags)
void gtk_cell_renderer_set_sensitive(GtkCellRenderer *cell, gboolean sensitive)
gboolean gtk_cell_renderer_get_sensitive(GtkCellRenderer *cell)
void gtk_cell_renderer_set_fixed_size(GtkCellRenderer *cell, gint width, gint height)
@ GTK_CELL_RENDERER_MODE_EDITABLE
@ GTK_CELL_RENDERER_MODE_ACTIVATABLE
@ GTK_CELL_RENDERER_MODE_INERT
void gtk_cell_renderer_render(GtkCellRenderer *cell, GdkWindow *window, GtkWidget *widget, const GdkRectangle *background_area, const GdkRectangle *cell_area, const GdkRectangle *expose_area, GtkCellRendererState flags)
void gtk_cell_renderer_set_visible(GtkCellRenderer *cell, gboolean visible)
gboolean gtk_cell_renderer_activate(GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags)
gboolean gtk_cell_renderer_get_visible(GtkCellRenderer *cell)
void gtk_cell_renderer_editing_canceled(GtkCellRenderer *cell)
void gtk_cell_renderer_set_padding(GtkCellRenderer *cell, gint xpad, gint ypad)
void gtk_cell_renderer_get_padding(GtkCellRenderer *cell, gint *xpad, gint *ypad)
void gtk_cell_renderer_stop_editing(GtkCellRenderer *cell, gboolean canceled)
void(* editing_canceled)(GtkCellRenderer *cell)
void(* _gtk_reserved1)(void)
void(* render)(GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags)
gboolean(* activate)(GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags)
void(* get_size)(GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height)
void(* _gtk_reserved2)(void)
void(* editing_started)(GtkCellRenderer *cell, GtkCellEditable *editable, const gchar *path)
GtkObjectClass parent_class