]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkradioaction.h
GtkRadioAction: unseal private pointer
[~andy/gtk] / gtk / gtkradioaction.h
index 9dd7d0cfc41a755bd7d358d2aa9d0694105724ce..5216d5d87434e8f56d21d2dae3bf6e691a60818e 100644 (file)
  * Modified by the GTK+ Team and others 2003.  See the AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
+
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #ifndef __GTK_RADIO_ACTION_H__
 #define __GTK_RADIO_ACTION_H__
 
@@ -50,7 +55,6 @@ struct _GtkRadioAction
   GtkToggleAction parent;
 
   /*< private >*/
-
   GtkRadioActionPrivate *private_data;
 };
 
@@ -67,7 +71,7 @@ struct _GtkRadioActionClass
   void (*_gtk_reserved4) (void);
 };
 
-GType           gtk_radio_action_get_type          (void);
+GType           gtk_radio_action_get_type          (void) G_GNUC_CONST;
 GtkRadioAction *gtk_radio_action_new               (const gchar           *name,
                                                     const gchar           *label,
                                                     const gchar           *tooltip,
@@ -76,8 +80,11 @@ GtkRadioAction *gtk_radio_action_new               (const gchar           *name,
 GSList         *gtk_radio_action_get_group         (GtkRadioAction        *action);
 void            gtk_radio_action_set_group         (GtkRadioAction        *action,
                                                     GSList                *group);
+void            gtk_radio_action_join_group        (GtkRadioAction        *action,
+                                                    GtkRadioAction        *group_source);
 gint            gtk_radio_action_get_current_value (GtkRadioAction        *action);
-
+void            gtk_radio_action_set_current_value (GtkRadioAction        *action,
+                                                    gint                   current_value);
 
 G_END_DECLS