NetSurf
completion.h
Go to the documentation of this file.
1/*
2 * Copyright 2006 Rob Kendrick <rjek@rjek.com>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/**
20 * \file
21 * Interface to url entry completion.
22 */
23
24#ifndef _NETSURF_GTK_COMPLETION_H_
25#define _NETSURF_GTK_COMPLETION_H_
26
28
29/**
30 * initialise completion list store
31 */
32void nsgtk_completion_init(void);
33
34/**
35 * update completion list store.
36 */
37gboolean nsgtk_completion_update(GtkEntry *entry);
38
39/**
40 * connect signals on entry completion
41 */
44 struct browser_window *(*get_bw)(void *ctx),
45 void *get_bw_ctx);
46
47#endif
gboolean nsgtk_completion_update(GtkEntry *entry)
update completion list store.
Definition: completion.c:134
void nsgtk_completion_init(void)
initialise completion list store
Definition: completion.c:127
nserror nsgtk_completion_connect_signals(GtkEntry *entry, struct browser_window *(*get_bw)(void *ctx), void *get_bw_ctx)
connect signals on entry completion
Definition: completion.c:148
nserror
Enumeration of error codes.
Definition: errors.h:29
Browser window data.
Core scaffolding structure.
Definition: scaffolding.c:64