source: trunk/third/bonobo/bonobo/bonobo-ui-sync-keys.h @ 15579

Revision 15579, 1.4 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15578, 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/*
3 * bonobo-ui-sync-keys.h: The Bonobo UI/XML sync engine for keys bindings
4 *
5 * Author:
6 *      Michael Meeks (michael@helixcode.com)
7 *
8 * Copyright 2000 Helix Code, Inc.
9 */
10
11#ifndef _BONOBO_UI_SYNC_KEYS_H_
12#define _BONOBO_UI_SYNC_KEYS_H_
13
14#include <gtk/gtkstatusbar.h>
15
16#include <bonobo/bonobo-ui-sync.h>
17
18BEGIN_GNOME_DECLS
19
20#define BONOBO_TYPE_UI_SYNC_KEYS            (bonobo_ui_sync_keys_get_type ())
21#define BONOBO_UI_SYNC_KEYS(obj)            (GTK_CHECK_CAST ((obj), BONOBO_TYPE_UI_SYNC_KEYS, BonoboUISyncKeys))
22#define BONOBO_UI_SYNC_KEYS_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), BONOBO_TYPE_UI_SYNC_KEYS, BonoboUISyncKeysClass))
23#define BONOBO_IS_UI_SYNC_KEYS(obj)         (GTK_CHECK_TYPE ((obj), BONOBO_TYPE_UI_SYNC_KEYS))
24#define BONOBO_IS_UI_SYNC_KEYS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), BONOBO_TYPE_UI_SYNC_KEYS))
25
26typedef struct _BonoboUISyncKeysPrivate BonoboUISyncKeysPrivate;
27
28typedef struct {
29        BonoboUISync parent;
30
31        GHashTable   *keybindings;
32
33        BonoboUISyncKeysPrivate *priv;
34} BonoboUISyncKeys;
35
36typedef struct {
37        BonoboUISyncClass parent_class;
38} BonoboUISyncKeysClass;
39
40BonoboUISync *bonobo_ui_sync_keys_new            (BonoboUIEngine   *engine);
41
42gint          bonobo_ui_sync_keys_binding_handle (GtkWidget        *widget,
43                                                  GdkEventKey      *event,
44                                                  BonoboUISyncKeys *msync);
45
46END_GNOME_DECLS
47
48#endif /* _BONOBO_UI_SYNC_KEYS_H_ */
Note: See TracBrowser for help on using the repository browser.