Blame gtk/gtktextmark.h

Packit 98cdb6
/* gtktextmark.h - mark segments
Packit 98cdb6
 *
Packit 98cdb6
 * Copyright (c) 1994 The Regents of the University of California.
Packit 98cdb6
 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
Packit 98cdb6
 * Copyright (c) 2000      Red Hat, Inc.
Packit 98cdb6
 * Tk -> Gtk port by Havoc Pennington <hp@redhat.com>
Packit 98cdb6
 *
Packit 98cdb6
 * This software is copyrighted by the Regents of the University of
Packit 98cdb6
 * California, Sun Microsystems, Inc., and other parties.  The
Packit 98cdb6
 * following terms apply to all files associated with the software
Packit 98cdb6
 * unless explicitly disclaimed in individual files.
Packit 98cdb6
 *
Packit 98cdb6
 * The authors hereby grant permission to use, copy, modify,
Packit 98cdb6
 * distribute, and license this software and its documentation for any
Packit 98cdb6
 * purpose, provided that existing copyright notices are retained in
Packit 98cdb6
 * all copies and that this notice is included verbatim in any
Packit 98cdb6
 * distributions. No written agreement, license, or royalty fee is
Packit 98cdb6
 * required for any of the authorized uses.  Modifications to this
Packit 98cdb6
 * software may be copyrighted by their authors and need not follow
Packit 98cdb6
 * the licensing terms described here, provided that the new terms are
Packit 98cdb6
 * clearly indicated on the first page of each file where they apply.
Packit 98cdb6
 *
Packit 98cdb6
 * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY
Packit 98cdb6
 * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
Packit 98cdb6
 * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION,
Packit 98cdb6
 * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED
Packit 98cdb6
 * OF THE POSSIBILITY OF SUCH DAMAGE.
Packit 98cdb6
 *
Packit 98cdb6
 * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
Packit 98cdb6
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
Packit 98cdb6
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
Packit 98cdb6
 * NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS,
Packit 98cdb6
 * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
Packit 98cdb6
 * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Packit 98cdb6
 *
Packit 98cdb6
 * GOVERNMENT USE: If you are acquiring this software on behalf of the
Packit 98cdb6
 * U.S. government, the Government shall have only "Restricted Rights"
Packit 98cdb6
 * in the software and related documentation as defined in the Federal
Packit 98cdb6
 * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
Packit 98cdb6
 * are acquiring the software on behalf of the Department of Defense,
Packit 98cdb6
 * the software shall be classified as "Commercial Computer Software"
Packit 98cdb6
 * and the Government shall have only "Restricted Rights" as defined
Packit 98cdb6
 * in Clause 252.227-7013 (c) (1) of DFARs.  Notwithstanding the
Packit 98cdb6
 * foregoing, the authors grant the U.S. Government and others acting
Packit 98cdb6
 * in its behalf permission to use and distribute the software in
Packit 98cdb6
 * accordance with the terms specified in this license.
Packit 98cdb6
 *
Packit 98cdb6
 */
Packit 98cdb6
Packit 98cdb6
#ifndef __GTK_TEXT_MARK_H__
Packit 98cdb6
#define __GTK_TEXT_MARK_H__
Packit 98cdb6
Packit 98cdb6
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
Packit 98cdb6
#error "Only <gtk/gtk.h> can be included directly."
Packit 98cdb6
#endif
Packit 98cdb6
Packit 98cdb6
G_BEGIN_DECLS
Packit 98cdb6
Packit 98cdb6
/* The GtkTextMark data type */
Packit 98cdb6
Packit 98cdb6
typedef struct _GtkTextMark      GtkTextMark;
Packit 98cdb6
typedef struct _GtkTextMarkClass GtkTextMarkClass;
Packit 98cdb6
Packit 98cdb6
#define GTK_TYPE_TEXT_MARK              (gtk_text_mark_get_type ())
Packit 98cdb6
#define GTK_TEXT_MARK(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_MARK, GtkTextMark))
Packit 98cdb6
#define GTK_TEXT_MARK_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_MARK, GtkTextMarkClass))
Packit 98cdb6
#define GTK_IS_TEXT_MARK(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_MARK))
Packit 98cdb6
#define GTK_IS_TEXT_MARK_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_MARK))
Packit 98cdb6
#define GTK_TEXT_MARK_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_MARK, GtkTextMarkClass))
Packit 98cdb6
Packit 98cdb6
struct _GtkTextMark
Packit 98cdb6
{
Packit 98cdb6
  GObject parent_instance;
Packit 98cdb6
Packit 98cdb6
  gpointer GSEAL (segment);
Packit 98cdb6
};
Packit 98cdb6
Packit 98cdb6
struct _GtkTextMarkClass
Packit 98cdb6
{
Packit 98cdb6
  GObjectClass parent_class;
Packit 98cdb6
Packit 98cdb6
  /* Padding for future expansion */
Packit 98cdb6
  void (*_gtk_reserved1) (void);
Packit 98cdb6
  void (*_gtk_reserved2) (void);
Packit 98cdb6
  void (*_gtk_reserved3) (void);
Packit 98cdb6
  void (*_gtk_reserved4) (void);
Packit 98cdb6
};
Packit 98cdb6
Packit 98cdb6
GType        gtk_text_mark_get_type   (void) G_GNUC_CONST;
Packit 98cdb6
Packit 98cdb6
void           gtk_text_mark_set_visible (GtkTextMark *mark,
Packit 98cdb6
                                          gboolean     setting);
Packit 98cdb6
gboolean       gtk_text_mark_get_visible (GtkTextMark *mark);
Packit 98cdb6
Packit 98cdb6
GtkTextMark          *gtk_text_mark_new              (const gchar *name,
Packit 98cdb6
						      gboolean     left_gravity);
Packit 98cdb6
const gchar *         gtk_text_mark_get_name         (GtkTextMark *mark);
Packit 98cdb6
gboolean              gtk_text_mark_get_deleted      (GtkTextMark *mark);
Packit 98cdb6
GtkTextBuffer*        gtk_text_mark_get_buffer       (GtkTextMark *mark);
Packit 98cdb6
gboolean              gtk_text_mark_get_left_gravity (GtkTextMark *mark);
Packit 98cdb6
Packit 98cdb6
G_END_DECLS
Packit 98cdb6
Packit 98cdb6
#endif
Packit 98cdb6
Packit 98cdb6