diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-08-12 03:25:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-12 03:25:49 +0000 |
commit | e6fdcff1fb9aa22d6a81bb40cd1b71cac998b96c (patch) | |
tree | d38f3876acc26a96692b6fab68a9b88ab8543dd9 /gtk/gtkaction.h | |
parent | c710d479f1b745bd95a73b82fdf6f47be3b9bd36 (diff) | |
download | gtk+-e6fdcff1fb9aa22d6a81bb40cd1b71cac998b96c.tar.gz |
Add setters for the ::sensitive and ::visible properties of GtkAction.
Wed Aug 11 23:14:25 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_action_set_sensitive):
(gtk_action_set_visible): Add setters for the ::sensitive
and ::visible properties of GtkAction. (#149622, David Malcolm)
Diffstat (limited to 'gtk/gtkaction.h')
-rw-r--r-- | gtk/gtkaction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkaction.h b/gtk/gtkaction.h index 53209baa1d..33ae055a5e 100644 --- a/gtk/gtkaction.h +++ b/gtk/gtkaction.h @@ -88,8 +88,12 @@ GtkAction *gtk_action_new (const gchar *name, const gchar* gtk_action_get_name (GtkAction *action); gboolean gtk_action_is_sensitive (GtkAction *action); gboolean gtk_action_get_sensitive (GtkAction *action); +void gtk_action_set_sensitive (GtkAction *action, + gboolean sensitive); gboolean gtk_action_is_visible (GtkAction *action); gboolean gtk_action_get_visible (GtkAction *action); +void gtk_action_set_visible (GtkAction *action, + gboolean visible); void gtk_action_activate (GtkAction *action); GtkWidget* gtk_action_create_icon (GtkAction *action, GtkIconSize icon_size); |