aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor-emacs-like.h
blob: 87e3fa797d2a6087d41f907e1ab1fcd230ef1b7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) version 3.
 *
 * This program 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with the program; if not, see <http://www.gnu.org/licenses/>  
 *
 *
 * Authors:
 *      Chris Lahey <clahey@ximian.com>
 *
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
 *
 */

#ifndef __E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_H__
#define __E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_H__

#include <e-util/e-text-event-processor.h>

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

/* ETextEventProcessorEmacsLike - Turns events on a text widget into commands.  Uses an emacs-ish interface.
 *
 */

#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE          (e_text_event_processor_emacs_like_get_type ())
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE(obj)          (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE, ETextEventProcessorEmacsLike))
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE, ETextEventProcessorEmacsLikeClass))
#define E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE(obj)               (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE))
#define E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS(klass)           (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE))


typedef struct _ETextEventProcessorEmacsLike       ETextEventProcessorEmacsLike;
typedef struct _ETextEventProcessorEmacsLikeClass  ETextEventProcessorEmacsLikeClass;

struct _ETextEventProcessorEmacsLike
{
    ETextEventProcessor parent;

    /* object specific fields */
    guint mouse_down : 1;
};

struct _ETextEventProcessorEmacsLikeClass
{
    ETextEventProcessorClass parent_class;
};


GType      e_text_event_processor_emacs_like_get_type (void);
ETextEventProcessor *e_text_event_processor_emacs_like_new (void);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* __E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_H__ */
inoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-0/+1 * polkitd_enable isn't needed any longer for quite a whileoliver2009-05-071-1/+1 * update master-port to 4.6.1 as well.oliver2009-05-071-1/+1 * just forgot to remove the olde xfce4-icon-theme dependencyoliver2009-03-031-2/+1 * update Xfce to 4.6oliver2009-03-031-18/+59 * update xfce to 4.4.3oliver2008-10-311-2/+2 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * update xfce4 to 4.4.2oliver2008-02-131-2/+2 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * update xfce to 4.4.1oliver2007-04-121-1/+1 * the file got included in Mk/ so it's not needed here any longeroliver2007-03-151-61/+0 * make sure "config-recursive" target worksoliver2007-02-091-2/+2 * uncomment a small part which does not work until bsd.xfce.mk is not movedoliver2007-02-071-2/+2 * propper style to fit into Mk/ directory where I hope it will go verry soonoliver2007-02-071-0/+31 * - Fix dependens from last commitmiwi2007-01-291-1/+1 * - Add xfdev dependensmiwi2007-01-281-0/+2 * also depend on Terminaloliver2007-01-261-1/+2 * switch to LIB_DEPENDS where possible to prevent build errors because of oldoliver2007-01-241-4/+2 * move MASTER_SITES_XFCE to bsd.sites.mkoliver2007-01-231-7/+1 * update PORTVERSION to 4.4.0oliver2007-01-231-2/+1 * Import xfce 4.4oliver2007-01-233-12/+46 * fix Xfce4.desktop installationoliver2006-11-151-6/+8 * replace "/usr/X11R6" in Xfce.desktop by %%PREFIX%% and parse that during theoliver2006-11-152-6/+6 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-142-18/+18 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+2 * update to 4.2.3.2oliver2005-11-181-1/+1 * update to xfce 4.2.3.1oliver2005-11-091-1/+1 * gdm moved from bin/ to sbin/oliver2005-06-251-2/+2 * update to 4.2.2oliver2005-05-20