// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _LIBGNOMEUIMM_PIXMAP_ENTRY_H
#define _LIBGNOMEUIMM_PIXMAP_ENTRY_H

#include <glibmm.h>

/* $Id: pixmap-entry.hg,v 1.15 2004/04/07 14:18:45 murrayc Exp $ */


/* pixmap-entry.hg
 * 
 * Copyright (C) 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 <gtkmm/box.h>
#include <libgnomeuimm/file-entry.h>
#include <libgnomeuimm/entry.h>
#include <gtkmm/entry.h>
#include <gtkmm/scrolledwindow.h>
//#include <libgnomeui/gnome-pixmap-entry.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GnomePixmapEntry GnomePixmapEntry;
typedef struct _GnomePixmapEntryClass GnomePixmapEntryClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Gnome
{

namespace UI
{ class PixmapEntry_Class; } // namespace UI

} // namespace Gnome
namespace Gnome
{

namespace UI
{


class PixmapEntry : public FileEntry
{
  public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  typedef PixmapEntry CppObjectType;
  typedef PixmapEntry_Class CppClassType;
  typedef GnomePixmapEntry BaseObjectType;
  typedef GnomePixmapEntryClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

  virtual ~PixmapEntry();

#ifndef DOXYGEN_SHOULD_SKIP_THIS

private:
  friend class PixmapEntry_Class;
  static CppClassType pixmapentry_class_;

  // noncopyable
  PixmapEntry(const PixmapEntry&);
  PixmapEntry& operator=(const PixmapEntry&);

protected:
  explicit PixmapEntry(const Glib::ConstructParams& construct_params);
  explicit PixmapEntry(GnomePixmapEntry* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  static GType get_type()      G_GNUC_CONST;
  static GType get_base_type() G_GNUC_CONST;
#endif

  ///Provides access to the underlying C GtkObject.
  GnomePixmapEntry*       gobj()       { return reinterpret_cast<GnomePixmapEntry*>(gobject_); }

  ///Provides access to the underlying C GtkObject.
  const GnomePixmapEntry* gobj() const { return reinterpret_cast<GnomePixmapEntry*>(gobject_); }


public:
  //C++ methods used to invoke GTK+ virtual functions:

protected:
  //GTK+ Virtual Functions (override these to change behaviour):

  //Default Signal Handlers::


private:
;
  // These are deprecated
  
public:
  PixmapEntry();

  PixmapEntry(const Glib::ustring& history_id, const Glib::ustring& browse_dialog_title, bool do_preview);
  

  void set_pixmap_subdir(const Glib::ustring& subdir);

  
  Gtk::ScrolledWindow* get_scrolled_window();
  
  const Gtk::ScrolledWindow* get_scrolled_window() const;

  
  Gtk::Widget* get_preview_widget();
  
  const Gtk::Widget* get_preview_widget() const;

  
  void set_preview(bool do_preview = true);
  
  void set_preview_size(gint preview_w, gint preview_h);
  
  Glib::ustring get_filename() const;


};

} /* namespace UI */
} /* namespace Gnome */


namespace Glib
{
  /** @relates Gnome::UI::PixmapEntry
   * @param object The C instance
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
   * @result A C++ instance that wraps this C instance.
   */
  Gnome::UI::PixmapEntry* wrap(GnomePixmapEntry* object, bool take_copy = false);
}
#endif /* _LIBGNOMEUIMM_PIXMAP_ENTRY_H */

