2006-07-26 00:55:10 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2006 Rob Kendrick <rjek@rjek.com>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf 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 General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2006-07-26 00:55:10 +04:00
|
|
|
*/
|
|
|
|
|
2015-06-24 01:22:42 +03:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* Interface to url entry completion.
|
|
|
|
*/
|
|
|
|
|
2006-07-26 00:55:10 +04:00
|
|
|
#ifndef _NETSURF_GTK_COMPLETION_H_
|
|
|
|
#define _NETSURF_GTK_COMPLETION_H_
|
|
|
|
|
2015-06-24 01:22:42 +03:00
|
|
|
struct nsgtk_scaffolding;
|
2006-07-26 00:55:10 +04:00
|
|
|
|
2015-06-24 01:22:42 +03:00
|
|
|
/**
|
|
|
|
* initialise completion list store
|
|
|
|
*/
|
2006-07-26 00:55:10 +04:00
|
|
|
void nsgtk_completion_init(void);
|
2015-06-24 01:22:42 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* update completion list store.
|
|
|
|
*/
|
|
|
|
gboolean nsgtk_completion_update(GtkEntry *entry);
|
|
|
|
|
|
|
|
/**
|
2019-08-22 01:06:56 +03:00
|
|
|
* connect signals on entry completion
|
2015-06-24 01:22:42 +03:00
|
|
|
*/
|
2019-08-22 01:06:56 +03:00
|
|
|
nserror
|
|
|
|
nsgtk_completion_connect_signals(GtkEntry *entry,
|
|
|
|
struct browser_window *(*get_bw)(void *ctx),
|
|
|
|
void *get_bw_ctx);
|
2015-06-24 01:22:42 +03:00
|
|
|
|
2006-07-26 00:55:10 +04:00
|
|
|
#endif
|