// -*- c++ -*-
/*  Generated by gensig from fileselection.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_FILESELECTION_HEADER
#define GTKMM_FILESELECTION_HEADER
/* $Id: fileselection.gen_h,v 1.21.2.1 1999/03/20 04:59:29 terop Exp $ */

/* fileselection.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--/window.h>
#include <gtk--/entry.h>
#include <gtk--/label.h>
#include <gtk--/box.h>
#include <gtk--/button.h>
#include <gtk/gtkfilesel.h>
class Gtk_FileSelection_Class;
#line 28 "fileselection.gen_h"

class Gtk_FileSelection : public Gtk_Window {
public:
protected:
  typedef Gtk_FileSelection_Class    CppClassType;
  typedef GtkFileSelection           BaseObjectType;
  typedef GtkFileSelectionClass      BaseClassType;

  virtual void *get_parent_class();

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

public:

	
  Gtk_FileSelection(const _gtk_string &title);
  Gtk_FileSelection(GtkFileSelection *castitem);

  void set_filename       (const string &filename);
  string get_filename     () const;
  void show_fileop_buttons();
  void hide_fileop_buttons();

#line 42 "fileselection.gen_h"
  void complete(const string &pattern);
#line 44 "fileselection.gen_h"

protected:
  /* impl functions */
public:
  GtkFileSelection* gtkobj() { return GTK_FILE_SELECTION(gtkobject); }
  const GtkFileSelection* gtkobj() const { return GTK_FILE_SELECTION(gtkobject); }
  static bool isGtkFileSelection(Gtk_Object *checkcast);
#line 45 "fileselection.gen_h"


  //: Accessors
  Gtk_HBox* get_action_area()      { return &action_area_;}
  Gtk_Entry* get_selection_entry() { return &selection_entry_; }
  Gtk_Label* get_selection_text()  { return &selection_text_; }
  Gtk_Button* get_ok_button()      { return &ok_button_; }
  Gtk_Button* get_cancel_button()  { return &cancel_button_; }

  const Gtk_HBox* get_action_area()  const { return &action_area_;}
  const Gtk_Entry* get_selection_entry() const { return &selection_entry_; }
  const Gtk_Label* get_selection_text()  const { return &selection_text_; }
  const Gtk_Button* get_ok_button()      const { return &ok_button_; }
  const Gtk_Button* get_cancel_button()  const { return &cancel_button_; }
  // I realize that there is a help_button in gtk+, but it is never used.
  //  Gtk_Button* get_help_button()    { return &help_button_; }

protected:
  Gtk_HBox action_area_;
  Gtk_Entry selection_entry_;
  Gtk_Label selection_text_;
  Gtk_Button ok_button_;
  Gtk_Button cancel_button_;
  // Gtk_Button help_button_;
};

#endif
