// -*- c++ -*-
/*  Generated by gensig from colorselection.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_COLORSELECTION_HEADER
#define GTKMM_COLORSELECTION_HEADER
/* $Id: colorselection.gen_h,v 1.19.2.2 1999/03/20 04:59:17 terop Exp $ */

/* colorselection.h
 * 
 * Copyright (C) 1998-1999 
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <gtk--/box.h>
#include <gtk--/window.h>
#include <gtk--/button.h>
#include <gtk/gtkcolorsel.h>

class Gtk_ColorSelection_Class;
class Gtk_ColorSelectionDialog_Class;
#line 27 "colorselection.gen_h"

class Gtk_ColorSelection : public Gtk_VBox {
public:
protected:
  typedef Gtk_ColorSelection_Class    CppClassType;
  typedef GtkColorSelection           BaseObjectType;
  typedef GtkColorSelectionClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType color_selection_class; 
  GtkType get_type(); 

public:


  Gtk_ColorSelection();
  Gtk_ColorSelection(GtkColorSelection *castitem);

  void set_update_policy (GtkUpdateType policy);
  void set_opacity       (gint use_opacity);
  void set_color         (const gdouble *color);
  void get_color         (gdouble *color) const;

  Signal_proxy0<BaseObjectType> color_changed;
protected:
  /* impl functions */
  virtual void color_changed_impl();
public:
  GtkColorSelection* gtkobj() { return GTK_COLOR_SELECTION(gtkobject); }
  const GtkColorSelection* gtkobj() const { return GTK_COLOR_SELECTION(gtkobject); }
  static bool isGtkColorSelection(Gtk_Object *checkcast);
#line 41 "colorselection.gen_h"


};

class Gtk_ColorSelectionDialog : public Gtk_Window {
public:
protected:
  typedef Gtk_ColorSelectionDialog_Class    CppClassType;
  typedef GtkColorSelectionDialog           BaseObjectType;
  typedef GtkColorSelectionDialogClass      BaseClassType;

  virtual void *get_parent_class();

private:
  friend CppClassType;
  static CppClassType color_selection_dialog_class; 
  GtkType get_type(); 

public:

    
  Gtk_ColorSelectionDialog(const _gtk_string &title);
  Gtk_ColorSelectionDialog(GtkColorSelectionDialog *castitem);
  ~Gtk_ColorSelectionDialog() {}

  Gtk_ColorSelection* get_colorsel() { return &colorsel_; }
  Gtk_Button* get_ok_button();
  Gtk_Button* get_reset_button();
  Gtk_Button* get_cancel_button();
  Gtk_Button* get_help_button();

  const Gtk_ColorSelection* get_colorsel() const { return &colorsel_; }
  const Gtk_Button* get_ok_button() const;
  const Gtk_Button* get_reset_button() const;
  const Gtk_Button* get_cancel_button() const;
  const Gtk_Button* get_help_button() const;

protected:
  /* impl functions */
public:
  GtkColorSelectionDialog* gtkobj() { return GTK_COLOR_SELECTION_DIALOG(gtkobject); }
  const GtkColorSelectionDialog* gtkobj() const { return GTK_COLOR_SELECTION_DIALOG(gtkobject); }
  static bool isGtkColorSelectionDialog(Gtk_Object *checkcast);
#line 65 "colorselection.gen_h"


protected:
  Gtk_ColorSelection colorsel_;
  Gtk_ObjectHandle<Gtk_Button> ok_button_,
    reset_button_,
    cancel_button_,
    help_button_;
};

#endif
