// -*- c++ -*-
/*  Generated by gensig from label.gen_h. DO NOT MODIFY!!! */
#ifndef GTKMM_LABEL_HEADER
#define GTKMM_LABEL_HEADER
/* $Id: label.gen_h,v 1.30.2.2 1999/05/04 21:29:02 glaurent Exp $ */

/* label.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--/misc.h>
#include <gtk/gtklabel.h>

class Gtk_Label_Class;
#line 25 "label.gen_h"

//: Text string widget.
//- A simple setable widget for holding a string.
class Gtk_Label : public Gtk_Misc {
public:
protected:
  typedef Gtk_Label_Class    CppClassType;
  typedef GtkLabel           BaseObjectType;
  typedef GtkLabelClass      BaseClassType;

  virtual void *get_parent_class();

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

public:


  Gtk_Label(const _gtk_string &label = 0);
  Gtk_Label(GtkLabel *castitem);

  //: Set the label text to match {\var str}.
  //- Text can not be NULL.
  void   set            (const string &str); 

  //: Alias for {set()}
  void   set_text       (const string &str) {set(str);}

  //: Return the current label text. 
  string get            () const;
  //: Return the current label text.
  string get_text       () const {return get();}


  //: Sets the justification for multiple lines.
  void set_justify(GtkJustification jtype);

  // Returns the label field
#line 53 "label.gen_h"

  //: (Gtk 1.1)
  void set_pattern      (const _gtk_string &pattern);

  //: (Gtk 1.1)
  guint parse_uline      (const string &str);

  //: (Gtk 1.1)
  void set_line_wrap    (bool wrap);
#line 63 "label.gen_h"

protected:
  /* impl functions */
public:
  GtkLabel* gtkobj() { return GTK_LABEL(gtkobject); }
  const GtkLabel* gtkobj() const { return GTK_LABEL(gtkobject); }
  static bool isGtkLabel(Gtk_Object *checkcast);
#line 64 "label.gen_h"

};

#endif
