source: trunk/third/gtkhtml/src/htmlselection.h @ 18136

Revision 18136, 2.6 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18135, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/* This file is part of the GtkHTML library
3
4   Copyright (C) 2000 Helix Code, Inc.
5
6   This library is free software; you can redistribute it and/or
7   modify it under the terms of the GNU Library General Public
8   License as published by the Free Software Foundation; either
9   version 2 of the License, or (at your option) any later version.
10
11   This library is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHcANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   Library General Public License for more details.
15
16   You should have received a copy of the GNU Library General Public License
17   along with this library; see the file COPYING.LIB.  If not, write to
18   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19   Boston, MA 02111-1307, USA.
20*/
21
22#ifndef _HTML_SELECTION_H_
23#define _HTML_SELECTION_H_
24
25#include "htmltypes.h"
26
27void      html_engine_select_interval                (HTMLEngine   *e,
28                                                      HTMLInterval *i);
29void      html_engine_select_region                  (HTMLEngine   *e,
30                                                      gint          x1,
31                                                      gint          y1,
32                                                      gint          x2,
33                                                      gint          y2);
34void      html_engine_select_word                    (HTMLEngine   *e);
35void      html_engine_select_line                    (HTMLEngine   *e);
36void      html_engine_select_all                     (HTMLEngine   *e);
37void      html_engine_unselect_all                   (HTMLEngine   *e);
38void      html_engine_clear_selection                (HTMLEngine   *e);
39void      html_engine_disable_selection              (HTMLEngine   *e);
40gchar    *html_engine_get_selection_string           (HTMLEngine   *e);
41gboolean  html_engine_is_selection_active            (HTMLEngine   *e);
42gboolean  html_engine_point_in_selection             (HTMLEngine   *e,
43                                                      HTMLObject   *obj,
44                                                      guint         offset);
45void      html_engine_activate_selection             (HTMLEngine   *e,
46                                                      guint32       time);
47void      html_engine_deactivate_selection           (HTMLEngine   *e);
48void      html_engine_update_selection_active_state  (HTMLEngine   *e,
49                                                      guint32       time);
50void      html_engine_block_selection                (HTMLEngine   *e);
51void      html_engine_unblock_selection              (HTMLEngine   *e);
52gboolean  html_selection_word                        (gunichar      uc);
53gboolean  html_selection_spell_word                  (gunichar      uc,
54                                                      gboolean     *cited);
55guint32   html_selection_current_time                (void);
56
57#endif
Note: See TracBrowser for help on using the repository browser.