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

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

/* image.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--/misc.h>
#include <gtk/gtkimage.h>

namespace Gtk {
class Image;
class Image_Class;
}
namespace Gtk { Gtk::Image *wrap (GtkImage *o); }
namespace Gtk
{
//: Image Widget
//- An image is a client side pixmap.  As it is client side,
//- it can be altered directly by the program.  However, it
//- pays a performance hit.
//-
class Image : public Misc {

public:
  typedef Image          CppObjectType;
  typedef Image_Class    CppClassType;
  typedef GtkImage           BaseObjectType;
  typedef GtkImageClass      BaseClassType;

private:
  friend class Image_Class;
  static CppClassType image_class;

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

protected:
  void   initialize_class();
  explicit Image(GtkImage *castitem);

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

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

  virtual ~Image();

private:

public:

  //: Create a Image widget from a Gdk_Image and Gdk_Bitmap.
  Image(const Gdk_Image &val, const Gdk_Bitmap &mask);



  //: Set the image.


  void set(const Gdk_Image& val,const Gdk_Bitmap& mask);

  //: Access the image.
  // void gtk_image_get(GtkImage*,GdkImage**,GdkBitmap**)
  void get(Gdk_Image &val,
	   Gdk_Bitmap &mask) const;

public:

protected:
  // impl functions

};

}


//+ PROPERTIES(Gtk_Image)
//. name: image
//. type: Gdk_Image
//. get: {get()}
//. set: {set()}
//. desc: Images graphic representation.

//. name: mask
//. type: Gdk_Bitmap
//. get: {get()}
//. set: {set()}
//. desc: Bitmap that defines the boundaries of the image.

#endif
