// -*- c++ -*-
/*  Generated by gensig from button.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_BUTTON_HEADER
#define GTKMM_BUTTON_HEADER
/* $Id: button.gen_h,v 1.27.2.1 1999/03/20 04:59:11 terop Exp $ */

/* box.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.
 */

#line 23 "button.gen_h"
#include <gtk--/bin.h>
#line 27 "button.gen_h"
#include <gtk/gtkbutton.h>

class Gtk_Button_Class;
#line 29 "button.gen_h"

#line 31 "button.gen_h"
class Gtk_Button : public Gtk_Bin {
#line 35 "button.gen_h"
public:
#line 37 "button.gen_h"
protected:
  typedef Gtk_Button_Class    CppClassType;
  typedef GtkButton           BaseObjectType;
  typedef GtkButtonClass      BaseClassType;

  virtual void *get_parent_class();

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

public:

#line 41 "button.gen_h"
  //: Create an empty button.
  //- With an empty button, you can {Gtk_Button::add()} a widget
  //- such as a {\page Gtk_Pixmap} or {\page Gtk_Box}.
  //-
  //- If you just wish to add a {\class Gtk_Label},
  //- you may want to
  //- use the {\decl Gtk_Button(const string &label)} ctor 
  //- directly instead.
  Gtk_Button();

  //: Simple Push Button with label.
  //- Create a button with the given label inside. You won't be able
  //- to add a widget in this button since it already has a {\class Gtk_Label}
  //- in it.
  Gtk_Button(GtkButton *castitem);
  Gtk_Button(const string &label);

#line 59 "button.gen_h"
  void           set_relief(GtkReliefStyle newstyle);
  GtkReliefStyle get_relief() const;
#line 62 "button.gen_h"

  //: Emited on button press.
  //- Triggered when the button is pressed (e.g. the mouse button is
  //- still down, it hasn't been released yet, see next signal)
  Signal_proxy0<BaseObjectType> pressed;

  //: Triggered when the user has released the mouse button
  Signal_proxy0<BaseObjectType> released;

  //: Emitted on button press and release.
  //- Triggered when the user has pressed and released the mouse button
  //- This is the signal you most likely want to connect.
  Signal_proxy0<BaseObjectType> clicked;

  //: Triggered when the mouse cursor enters the button
  Signal_proxy0<BaseObjectType> enter;

  //: Triggered when the mouse cursor leaves the button
  Signal_proxy0<BaseObjectType> leave;

protected:
  /* impl functions */
  virtual void pressed_impl();
  virtual void released_impl();
  virtual void clicked_impl();
  virtual void enter_impl();
  virtual void leave_impl();
public:
  GtkButton* gtkobj() { return GTK_BUTTON(gtkobject); }
  const GtkButton* gtkobj() const { return GTK_BUTTON(gtkobject); }
  static bool isGtkButton(Gtk_Object *checkcast);
#line 82 "button.gen_h"

};

#endif
