// -*- c++ -*-
/*  Generated by gensig from togglebutton.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_TOGGLEBUTTON_HEADER
#define GTKMM_TOGGLEBUTTON_HEADER
/* $Id: togglebutton.gen_h,v 1.27.2.1 1999/03/20 05:00:12 terop Exp $ */

/* togglebutton.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--/button.h>
#include <gtk/gtktogglebutton.h>
class Gtk_ToggleButton_Class;
#line 24 "togglebutton.gen_h"

class Gtk_ToggleButton : public Gtk_Button {
public:
protected:
  typedef Gtk_ToggleButton_Class    CppClassType;
  typedef GtkToggleButton           BaseObjectType;
  typedef GtkToggleButtonClass      BaseClassType;

  virtual void *get_parent_class();

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

public:


  //: Create an empty toggle 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_ToggleButton(const string &label)} ctor 
  //- directly instead.
  Gtk_ToggleButton();

  //: Create a check button with a label.
  //- You won't be able
  //- to add a widget in this button since it already has a {\class Gtk_Label}
  //- in it.
  Gtk_ToggleButton(const string &label);
  Gtk_ToggleButton(GtkToggleButton *castitem);

  //: Set whether the indicator will be drawn.
  //- See {draw_indicator}.
  void set_mode (bool draw_indicator);

  //: Returns whether the indicator will be drawn.
  //- See {draw_indicator}.
  bool get_mode() const
    {return gtkobj()->draw_indicator;}

  //: Set the state of the indicator.
  void set_active(bool is_active);
  //- See {active}.
  //: Return the state of the indicator.
  //- See {active}.
  bool get_active() const
    {return gtkobj()->active;}

  //: Emitted on a change of button state.
  //- Triggered when the button changes state
  //- (Note : changing the button's state with {set_active()}
  //- will also trigger this signal).
  Signal_proxy0<BaseObjectType> toggled;
protected:
  /* impl functions */
  virtual void toggled_impl();
public:
  GtkToggleButton* gtkobj() { return GTK_TOGGLE_BUTTON(gtkobject); }
  const GtkToggleButton* gtkobj() const { return GTK_TOGGLE_BUTTON(gtkobject); }
  static bool isGtkToggleButton(Gtk_Object *checkcast);
#line 68 "togglebutton.gen_h"

};

#endif
