1 /*
2  * This is free software; you can redistribute it and/or modify it under
3  * the terms of the GNU Library General Public License as published by
4  * the Free Software Foundation; either version 2 of the License, or
5  * (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful, but
8  * WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10  * General Public License for more details.
11  *
12  * You should have received a copy of the GNU Library General Public
13  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #ifndef TILDA_KEY_GRABBER_C
17 #define TILDA_KEY_GRABBER_C
18 
19 #include "tilda_window.h"
20 
21 G_BEGIN_DECLS
22 
23 void pull (struct tilda_window_ *tw, enum pull_action action, gboolean force_hide);
24 
25 extern void generate_animation_positions (tilda_window *tw);
26 
27 gboolean tilda_keygrabber_bind (const gchar *keystr, tilda_window *tw);
28 void tilda_keygrabber_unbind (const gchar *keystr);
29 
30 /**
31  * This function will make the tilda window active after it starts
32  */
33 void tilda_window_set_active (tilda_window *tw);
34 
35 G_END_DECLS
36 
37 #endif
38