* Modified by the GTK+ Team and others 1997-2000. 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_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
#include <gtk/gtkdialog.h>
#include <gtk/gtkcolorsel.h>
-#include <gtk/gtkvbox.h>
G_BEGIN_DECLS
#define GTK_COLOR_SELECTION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SELECTION_DIALOG, GtkColorSelectionDialogClass))
-typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog;
-typedef struct _GtkColorSelectionDialogClass GtkColorSelectionDialogClass;
+typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog;
+typedef struct _GtkColorSelectionDialogPrivate GtkColorSelectionDialogPrivate;
+typedef struct _GtkColorSelectionDialogClass GtkColorSelectionDialogClass;
struct _GtkColorSelectionDialog
{
GtkDialog parent_instance;
- GtkWidget *colorsel;
- GtkWidget *ok_button;
- GtkWidget *cancel_button;
- GtkWidget *help_button;
+ /*< private >*/
+ GtkColorSelectionDialogPrivate *priv;
};
struct _GtkColorSelectionDialogClass
};
-/* ColorSelectionDialog */
-GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
-GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
+/* ColorSelectionDialog */
+GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
+GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
+GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
G_END_DECLS