[go: up one dir, main page]

File: tilda-keybinding.h

package info (click to toggle)
tilda 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: ansic: 8,286; sh: 4,917; makefile: 169; xml: 54; sed: 16
file content (43 lines) | stat: -rw-r--r-- 1,383 bytes parent folder | download
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
/*
 * This is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Library General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef TILDA_KEYBINDING_H
#define TILDA_KEYBINDING_H

#include <gtk/gtk.h>

#include "tilda_window.h"

typedef struct TildaKeybindingTreeView_ TildaKeybindingTreeView;

TildaKeybindingTreeView *
tilda_keybinding_init (GtkBuilder *builder,
                       gboolean allow_empty_pull_shortcut);

void
tilda_keybinding_apply (TildaKeybindingTreeView *keybinding);

gboolean
tilda_keybinding_save (TildaKeybindingTreeView *keybinding,
                       tilda_window *tw);

void
tilda_keybinding_show_invalid_keybinding_dialog (GtkWindow *parent,
                                                 const gchar* message);

void
tilda_keybinding_free (TildaKeybindingTreeView *keybinding);

#endif //TILDA_KEYBINDING_H