// -*- c++ -*-
//  Generated by gtkmmproc from ./../tipsquery.gen_h -- DO NOT MODIFY!
#ifndef _GTKMM_TIPSQUERY_H
#define _GTKMM_TIPSQUERY_H

/* $Id: tipsquery.gen_h,v 1.37 2000/02/13 02:22:09 kenelson Exp $ */

/* tipsquery.h
 *
 * Copyright (C) 1998-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 <gtk--/label.h>
#include <gtk/gtktipsquery.h>

namespace Gtk {
class TipsQuery;
class TipsQuery_Class;
}
namespace Gtk { Gtk::TipsQuery *wrap (GtkTipsQuery *o); }
namespace Gtk
{
class TipsQuery : public Label
{

public:
  typedef TipsQuery          CppObjectType;
  typedef TipsQuery_Class    CppClassType;
  typedef GtkTipsQuery           BaseObjectType;
  typedef GtkTipsQueryClass      BaseClassType;

private:
  friend class TipsQuery_Class;
  static CppClassType tips_query_class;

  TipsQuery(const TipsQuery&);
  TipsQuery& operator=(const TipsQuery&); // not implemented

protected:
  void   initialize_class();
  explicit TipsQuery(GtkTipsQuery *castitem);

public:
  static GtkType get_type();
  GtkTipsQuery* gtkobj()             { return (GtkTipsQuery*)(gtkobject); }
  const GtkTipsQuery* gtkobj() const { return (GtkTipsQuery*)(gtkobject); }
  static bool isA(Object *checkcast);

  // Hook for proxies
  static const char* const signal_names[];

  virtual ~TipsQuery();

private:

public:

  TipsQuery();

  void set_caller(Gtk::Widget* caller=0);

  void set_caller(Gtk::Widget& caller);




  void set_labels(const string& label_inactive,const string& label_no_tip);

public:

  union
    {
      CppObjectType * tips_query_self;
      Gtk::EmitProxySignal0<void,CppObjectType,BaseObjectType,0,&gtk_tips_query_start_query> start_query;
      Gtk::EmitProxySignal0<void,CppObjectType,BaseObjectType,1,&gtk_tips_query_stop_query> stop_query;
    };

protected:
  // impl functions
    virtual void start_query_impl();
    virtual void stop_query_impl();
    virtual void widget_entered_impl(Gtk::Widget* p0,const gchar* p1,const gchar* p2);
    virtual gint widget_selected_impl(Gtk::Widget* p0,const gchar* p1,const gchar* p2,GdkEventButton* p3);

};

}


#endif
