Blame modules/other/gail/gaillabel.h

Packit 98cdb6
/* GAIL - The GNOME Accessibility Implementation Library
Packit 98cdb6
 * Copyright 2001 Sun Microsystems Inc.
Packit 98cdb6
 *
Packit 98cdb6
 * This library is free software; you can redistribute it and/or
Packit 98cdb6
 * modify it under the terms of the GNU Library General Public
Packit 98cdb6
 * License as published by the Free Software Foundation; either
Packit 98cdb6
 * version 2 of the License, or (at your option) any later version.
Packit 98cdb6
 *
Packit 98cdb6
 * This library is distributed in the hope that it will be useful,
Packit 98cdb6
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 98cdb6
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 98cdb6
 * Library General Public License for more details.
Packit 98cdb6
 *
Packit 98cdb6
 * You should have received a copy of the GNU Library General Public
Packit 98cdb6
 * License along with this library; if not, write to the
Packit 98cdb6
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit 98cdb6
 * Boston, MA 02111-1307, USA.
Packit 98cdb6
 */
Packit 98cdb6
Packit 98cdb6
#ifndef __GAIL_LABEL_H__
Packit 98cdb6
#define __GAIL_LABEL_H__
Packit 98cdb6
Packit 98cdb6
#include <gail/gailwidget.h>
Packit 98cdb6
#include <libgail-util/gailtextutil.h>
Packit 98cdb6
Packit 98cdb6
G_BEGIN_DECLS
Packit 98cdb6
Packit 98cdb6
#define GAIL_TYPE_LABEL                      (gail_label_get_type ())
Packit 98cdb6
#define GAIL_LABEL(obj)                      (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_LABEL, GailLabel))
Packit 98cdb6
#define GAIL_LABEL_CLASS(klass)              (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_TYPE_LABEL, GailLabelClass))
Packit 98cdb6
#define GAIL_IS_LABEL(obj)                   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIL_TYPE_LABEL))
Packit 98cdb6
#define GAIL_IS_LABEL_CLASS(klass)           (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIL_TYPE_LABEL))
Packit 98cdb6
#define GAIL_LABEL_GET_CLASS(obj)            (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIL_TYPE_LABEL, GailLabelClass))
Packit 98cdb6
Packit 98cdb6
typedef struct _GailLabel              GailLabel;
Packit 98cdb6
typedef struct _GailLabelClass         GailLabelClass;
Packit 98cdb6
Packit 98cdb6
struct _GailLabel
Packit 98cdb6
{
Packit 98cdb6
  GailWidget parent;
Packit 98cdb6
Packit 98cdb6
  GailTextUtil   *textutil;
Packit 98cdb6
  gint           cursor_position;
Packit 98cdb6
  gint           selection_bound;
Packit 98cdb6
  gint           label_length;
Packit 98cdb6
  guint          window_create_handler;
Packit 98cdb6
  gboolean       has_top_level;
Packit 98cdb6
};
Packit 98cdb6
Packit 98cdb6
GType gail_label_get_type (void);
Packit 98cdb6
Packit 98cdb6
struct _GailLabelClass
Packit 98cdb6
{
Packit 98cdb6
  GailWidgetClass parent_class;
Packit 98cdb6
};
Packit 98cdb6
Packit 98cdb6
G_END_DECLS
Packit 98cdb6
Packit 98cdb6
#endif /* __GAIL_LABEL_H__ */