// -*- c++ -*-
//  Generated by gtkmmproc from ./../colorselection.gen_h -- DO NOT MODIFY!
#ifndef _GTKMM_COLORSELECTION_H
#define _GTKMM_COLORSELECTION_H

/* $Id: colorselection.gen_h,v 1.43 2000/02/13 02:22:09 kenelson Exp $ */

/* colorselection.h
 *
 * Copyright (C) 1998-1999 The Gtk-- Development Team
 *
 * 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>

namespace Gtk {
class ColorSelection;
class ColorSelection_Class;
}
namespace Gtk { Gtk::ColorSelection *wrap (GtkColorSelection *o); }
namespace Gtk {
class ColorSelectionDialog;
class ColorSelectionDialog_Class;
}
namespace Gtk { Gtk::ColorSelectionDialog *wrap (GtkColorSelectionDialog *o); }
namespace Gtk
{
class ColorSelection : public VBox {

public:
  typedef ColorSelection          CppObjectType;
  typedef ColorSelection_Class    CppClassType;
  typedef GtkColorSelection           BaseObjectType;
  typedef GtkColorSelectionClass      BaseClassType;

private:
  friend class ColorSelection_Class;
  static CppClassType color_selection_class;

  ColorSelection(const ColorSelection&);
  ColorSelection& operator=(const ColorSelection&); // not implemented

protected:
  void   initialize_class();
  explicit ColorSelection(GtkColorSelection *castitem);

public:
  static GtkType get_type();
  GtkColorSelection* gtkobj()             { return (GtkColorSelection*)(gtkobject); }
  const GtkColorSelection* gtkobj() const { return (GtkColorSelection*)(gtkobject); }
  static bool isA(Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~ColorSelection();

private:

public:

  ColorSelection();




  void set_update_policy(GtkUpdateType policy);


  void set_opacity(gint use_opacity);

  // NOTE: mail gtk+ that second argument should be const.

  void set_color(const gdouble* color);


  void get_color(gdouble* color) const;

public:

  union
    {
      CppObjectType * color_selection_self;
      Gtk::ProxySignal0<void,CppObjectType,BaseObjectType,0> color_changed;
    };

protected:
  // impl functions
    virtual void color_changed_impl();

};

class ColorSelectionDialog : public Window {

public:
  typedef ColorSelectionDialog          CppObjectType;
  typedef ColorSelectionDialog_Class    CppClassType;
  typedef GtkColorSelectionDialog           BaseObjectType;
  typedef GtkColorSelectionDialogClass      BaseClassType;

private:
  friend class ColorSelectionDialog_Class;
  static CppClassType color_selection_dialog_class;

  ColorSelectionDialog(const ColorSelectionDialog&);
  ColorSelectionDialog& operator=(const ColorSelectionDialog&); // not implemented

protected:
  void   initialize_class();
  explicit ColorSelectionDialog(GtkColorSelectionDialog *castitem);

public:
  static GtkType get_type();
  GtkColorSelectionDialog* gtkobj()             { return (GtkColorSelectionDialog*)(gtkobject); }
  const GtkColorSelectionDialog* gtkobj() const { return (GtkColorSelectionDialog*)(gtkobject); }
  static bool isA(Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~ColorSelectionDialog();

private:

public:

  ColorSelectionDialog(const nstring &title);

  Gtk::ColorSelection* get_colorsel() const;

  Gtk::VBox* get_vbox() const;

  Gtk::Button* get_ok_button() const;

  Gtk::Button* get_reset_button() const;

  Gtk::Button* get_cancel_button() const;

  Gtk::Button* get_help_button() const;

public:

protected:
  // impl functions

};

}


#endif
