~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to libpanel-applet/panel-applet-bindings.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-05-30 11:04:49 UTC
  • mfrom: (1.3.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 204.
  • Revision ID: james.westby@ubuntu.com-20110530110449-ut1tc5t61rpvf9e3
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * panel-applet-bindings.h: utility for key bindings.
 
3
 *
 
4
 * Copyright (c) 2011 Novell, 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
 * MERCHANTABILITY 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
 
17
 * License along with this library; if not, write to the
 
18
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
19
 * Boston, MA 02111-1307, USA.
 
20
 *
 
21
 * Authors:
 
22
 *     Vincent Untz <vuntz@gnome.org>
 
23
 */
 
24
 
 
25
#ifndef __PANEL_APPLET_BINDINGS_H__
 
26
#define __PANEL_APPLET_BINDINGS_H__
 
27
 
 
28
#include <glib.h>
 
29
#include <gdk/gdk.h>
 
30
#include <gconf/gconf-client.h>
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
34
void  panel_applet_bindings_init  (GConfClient *client);
 
35
void  panel_applet_bindings_clean (GConfClient *client);
 
36
 
 
37
guint panel_applet_bindings_get_mouse_button_modifier_keymask (void);
 
38
 
 
39
void panel_applet_bindings_key_event_is_popup (GdkEventKey *event,
 
40
                                               gboolean    *is_popup,
 
41
                                               gboolean    *is_popup_modifier);
 
42
 
 
43
G_END_DECLS
 
44
 
 
45
#endif /* __PANEL_APPLET_BINDINGS_H__ */