// -*- c++ -*-
/*  Generated by gensig from window.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_WINDOW_HEADER
#define GTKMM_WINDOW_HEADER
/* $Id: window.gen_h,v 1.37.2.2 1999/05/01 18:02:28 terop Exp $ */

/* window.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--/bin.h>
#line 24 "window.gen_h"
#include <gtk--/accelgroup.h>
#line 26 "window.gen_h"
#include <gtk/gtkwindow.h>
class Gtk_Window_Class;
#line 27 "window.gen_h"

class Gtk_Window : public Gtk_Bin {
public:
protected:
  typedef Gtk_Window_Class    CppClassType;
  typedef GtkWindow           BaseObjectType;
  typedef GtkWindowClass      BaseClassType;

  virtual void *get_parent_class();

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

public:

   
  //: Create a window.
  //- This creates a window with an optional {type}. 
  Gtk_Window(GtkWindowType type=GTK_WINDOW_TOPLEVEL);
  Gtk_Window(GtkWindow *castitem);

  //: Set the window {title}.
  void set_title               (const _gtk_string &title);

  //: Set the window manager names.
  //- See {wmclass_name} and {wmclass_class}.
  void set_wmclass             (const _gtk_string &wmclass_name,
				const _gtk_string &wmclass_class);

  //: Set the window resizing policy.
  //- See {allow_shrink},{allow_grow}, and {auto_shrink}
  void set_policy              (gint allow_shrink,
				gint allow_grow,
				gint auto_shrink);
#line 51 "window.gen_h"
  //: (Gtk 1.1)
  void add_accel_group         (const Gtk_AccelGroup &accel_group);
  //: (Gtk 1.1)
  void remove_accel_group      (const Gtk_AccelGroup &accel_group);

  //: (Gtk 1.1)
  void set_modal               (bool modal);

  //: (Gtk 1.1)
  void set_default_size        (gint width,
				gint height);

  //: (Gtk 1.1)
  void set_geometry_hints      (const Gtk_Widget &geometry_widget,
				GdkGeometry      *geometry,
				GdkWindowHints   geom_mask);

  //: (Gtk 1.1)
  void set_transient_for       (const Gtk_Window &parent);
  
#line 79 "window.gen_h"
  //: Set the window position.
  void set_position            (GtkWindowPosition position);

  gint activate_focus();
  gint activate_default();

#line 89 "window.gen_h"

  Signal_proxy1<BaseObjectType,GtkWidget*> set_focus_c;
  Signal1<Gtk_Widget*> set_focus;

protected:
  /* impl functions */
  virtual void set_focus_c_impl(GtkWidget* p1);
public:
  GtkWindow* gtkobj() { return GTK_WINDOW(gtkobject); }
  const GtkWindow* gtkobj() const { return GTK_WINDOW(gtkobject); }
  static bool isGtkWindow(Gtk_Object *checkcast);
#line 93 "window.gen_h"

};

#endif
