// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _LIBSEXYMM_TOOLTIP_H
#define _LIBSEXYMM_TOOLTIP_H

#include <glibmm.h>

/**
 * @file libsexymm/tooltip.hg A flexible tooltip widget.
 *
 * @Copyright (C) 2006 Christian Hammond.
 *
 * 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., 59 Temple Place - Suite 330,
 * Boston, MA  02111-1307, USA.
 */

#include <gtkmm/window.h>
#include <libsexy/sexy-tooltip.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _SexyTooltip SexyTooltip;
typedef struct _SexyTooltipClass SexyTooltipClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Sexy
{ class Tooltip_Class; } // namespace Sexy
namespace Sexy
{


class Tooltip
	: public Gtk::Window
{
	public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  typedef Tooltip CppObjectType;
  typedef Tooltip_Class CppClassType;
  typedef SexyTooltip BaseObjectType;
  typedef SexyTooltipClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

  virtual ~Tooltip();

#ifndef DOXYGEN_SHOULD_SKIP_THIS

private:
  friend class Tooltip_Class;
  static CppClassType tooltip_class_;

  // noncopyable
  Tooltip(const Tooltip&);
  Tooltip& operator=(const Tooltip&);

protected:
  explicit Tooltip(const Glib::ConstructParams& construct_params);
  explicit Tooltip(SexyTooltip* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  static GType get_type()      G_GNUC_CONST;
  static GType get_base_type() G_GNUC_CONST;
#endif

  ///Provides access to the underlying C GtkObject.
  SexyTooltip*       gobj()       { return reinterpret_cast<SexyTooltip*>(gobject_); }

  ///Provides access to the underlying C GtkObject.
  const SexyTooltip* gobj() const { return reinterpret_cast<SexyTooltip*>(gobject_); }


public:
  //C++ methods used to invoke GTK+ virtual functions:

protected:
  //GTK+ Virtual Functions (override these to change behaviour):

  //Default Signal Handlers::


private:


public:
	Tooltip();
	explicit Tooltip(const Glib::ustring& text);

	
  void position_to_widget(Gtk::Widget& widget);
	
  void position_to_rect(const Gdk::Rectangle& rect, const Glib::RefPtr<Gdk::Screen>& screen);


};

} /* namespace Sexy */

// vim: syntax=cpp


namespace Glib
{
  /** @relates Sexy::Tooltip
   * @param object The C instance
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
   * @result A C++ instance that wraps this C instance.
   */
  Sexy::Tooltip* wrap(SexyTooltip* object, bool take_copy = false);
}
#endif /* _LIBSEXYMM_TOOLTIP_H */

