// -*- c++ -*-
/*  Generated by gensig from pixmap.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_PIXMAP_HEADER
#define GTKMM_PIXMAP_HEADER
/* $Id: pixmap.gen_h,v 1.42.2.2 1999/05/01 18:02:26 terop Exp $ */

/* pixmap.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--/misc.h>
#include <gtk/gtkpixmap.h>
#include <gtk--/base.h>
class Gtk_Pixmap_Class;
#line 25 "pixmap.gen_h"

class Gtk_Pixmap : public Gtk_Misc {
public:
protected:
  typedef Gtk_Pixmap_Class    CppClassType;
  typedef GtkPixmap           BaseObjectType;
  typedef GtkPixmapClass      BaseClassType;

  virtual void *get_parent_class();

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

public:


  //: Construct an empty pixmap.
  //- Note that default constructor puts Pixmap objects to invalid
  //- state and you should not show it or add it to containers
  //- before you've set() the pixmap and mask for it.
  Gtk_Pixmap();

  //: Load a pixmap form file.
  Gtk_Pixmap(Gtk_Widget &w, const _gtk_string &xpmfilename);

  //: Create a pixmap from data.
  //- data must live until Pixmap is realized
  Gtk_Pixmap(Gtk_Widget &w,
	     const gchar * const *data);

  //: Create using specified {pixmap} and {mask}.
  Gtk_Pixmap(const Gdk_Pixmap &pixmap,
	     const Gdk_Bitmap &mask);
  Gtk_Pixmap(GtkPixmap *castitem);


  //: Set the {pixmap} and border {mask}.
  void set(const Gdk_Pixmap &pixmap,
	   const Gdk_Bitmap &mask);

  //: Get the {pixmap} and border {mask}.
  void get(Gdk_Pixmap &pixmap,
	   Gdk_Bitmap &mask) const;

#line 59 "pixmap.gen_h"
  //: (Gtk 1.1) Build an special pixmap for insensitive states.
  //- Setting this switch will cause Gtk to build a greyed out
  //- version on the specified {pixmap}.  
  void set_build_insensitive(bool build);
#line 64 "pixmap.gen_h"
  
protected:
  /* impl functions */
public:
  GtkPixmap* gtkobj() { return GTK_PIXMAP(gtkobject); }
  const GtkPixmap* gtkobj() const { return GTK_PIXMAP(gtkobject); }
  static bool isGtkPixmap(Gtk_Object *checkcast);
#line 65 "pixmap.gen_h"


protected:
  // ref_widget_ is not const because we may call realize() on it
  Gtk_Widget *ref_widget_;
  const _gtk_string xpm_file_name_;
  const gchar * const *data_;
  void pixmap_realize();
};

#endif
