31 #ifndef __GTK_ACTION_H__
32 #define __GTK_ACTION_H__
34 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
35 #error "Only <gtk/gtk.h> can be included directly."
42 #define GTK_TYPE_ACTION (gtk_action_get_type ())
43 #define GTK_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION, GtkAction))
44 #define GTK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACTION, GtkActionClass))
45 #define GTK_IS_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION))
46 #define GTK_IS_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACTION))
47 #define GTK_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACTION, GtkActionClass))
92 const gchar *stock_id);
114 #ifndef GTK_DISABLE_DEPRECATED
139 const gchar *accel_path);
150 const gchar *short_label);
153 const gchar *tooltip);
156 const gchar *stock_id);
162 const gchar *icon_name);
165 gboolean visible_horizontal);
168 gboolean visible_vertical);
171 gboolean is_important);
174 gboolean always_show);
void gtk_action_set_visible(GtkAction *action, gboolean visible)
void gtk_action_set_visible_horizontal(GtkAction *action, gboolean visible_horizontal)
void gtk_action_disconnect_proxy(GtkAction *action, GtkWidget *proxy)
gboolean gtk_action_get_visible(GtkAction *action)
gboolean gtk_action_is_visible(GtkAction *action)
gboolean gtk_action_is_sensitive(GtkAction *action)
void _gtk_action_sync_menu_visible(GtkAction *action, GtkWidget *proxy, gboolean empty)
const gchar * gtk_action_get_name(GtkAction *action)
void gtk_action_block_activate_from(GtkAction *action, GtkWidget *proxy)
void _gtk_action_emit_activate(GtkAction *action)
GSList * gtk_action_get_proxies(GtkAction *action)
GType gtk_action_get_type(void) G_GNUC_CONST
GtkWidget * gtk_action_create_icon(GtkAction *action, GtkIconSize icon_size)
gboolean gtk_action_get_is_important(GtkAction *action)
GClosure * gtk_action_get_accel_closure(GtkAction *action)
void gtk_action_unblock_activate_from(GtkAction *action, GtkWidget *proxy)
void gtk_action_set_icon_name(GtkAction *action, const gchar *icon_name)
void _gtk_action_remove_from_proxy_list(GtkAction *action, GtkWidget *proxy)
GtkAction * gtk_action_new(const gchar *name, const gchar *label, const gchar *tooltip, const gchar *stock_id)
const gchar * gtk_action_get_stock_id(GtkAction *action)
void gtk_action_set_tooltip(GtkAction *action, const gchar *tooltip)
const gchar * gtk_action_get_tooltip(GtkAction *action)
const gchar * gtk_action_get_icon_name(GtkAction *action)
void gtk_action_set_accel_path(GtkAction *action, const gchar *accel_path)
const gchar * gtk_action_get_short_label(GtkAction *action)
gboolean gtk_action_get_visible_vertical(GtkAction *action)
void gtk_action_set_accel_group(GtkAction *action, GtkAccelGroup *accel_group)
void gtk_action_set_visible_vertical(GtkAction *action, gboolean visible_vertical)
void gtk_action_connect_proxy(GtkAction *action, GtkWidget *proxy)
GtkWidget * gtk_action_create_tool_item(GtkAction *action)
gboolean gtk_action_get_visible_horizontal(GtkAction *action)
GtkWidget * gtk_action_create_menu_item(GtkAction *action)
void gtk_action_set_label(GtkAction *action, const gchar *label)
const gchar * gtk_action_get_accel_path(GtkAction *action)
void gtk_action_set_short_label(GtkAction *action, const gchar *short_label)
gboolean gtk_action_get_sensitive(GtkAction *action)
GtkAction * gtk_widget_get_action(GtkWidget *widget)
void gtk_action_set_gicon(GtkAction *action, GIcon *icon)
void gtk_action_set_is_important(GtkAction *action, gboolean is_important)
const gchar * gtk_action_get_label(GtkAction *action)
void gtk_action_disconnect_accelerator(GtkAction *action)
gboolean gtk_action_get_always_show_image(GtkAction *action)
void gtk_action_connect_accelerator(GtkAction *action)
void gtk_action_set_always_show_image(GtkAction *action, gboolean always_show)
void _gtk_action_add_to_proxy_list(GtkAction *action, GtkWidget *proxy)
GtkWidget * gtk_action_create_menu(GtkAction *action)
void gtk_action_set_sensitive(GtkAction *action, gboolean sensitive)
void gtk_action_set_stock_id(GtkAction *action, const gchar *stock_id)
struct _GtkActionPrivate GtkActionPrivate
void gtk_action_activate(GtkAction *action)
void gtk_action_unblock_activate(GtkAction *action)
GIcon * gtk_action_get_gicon(GtkAction *action)
void gtk_action_block_activate(GtkAction *action)
GtkImageIconNameData name
void(* _gtk_reserved4)(void)
void(* _gtk_reserved2)(void)
void(* activate)(GtkAction *action)
void(* connect_proxy)(GtkAction *action, GtkWidget *proxy)
GObjectClass parent_class
void(* _gtk_reserved3)(void)
void(* disconnect_proxy)(GtkAction *action, GtkWidget *proxy)
GtkActionPrivate * GSEAL(private_data)