NetSurf
page_info.h
Go to the documentation of this file.
1/*
2 * Copyright 2019 Vincent Sanders <vince@netsurf-browser.org>
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#ifndef NETSURF_GTK_PAGE_INFO_H
20#define NETSURF_GTK_PAGE_INFO_H 1
21
22/**
23 * Page information window
24 *
25 * \param bw the browser window to get page information for
26 * \return NSERROR_OK or error code if prompt creation failed.
27 */
29
30/**
31 * Position the given page information window at the given
32 * coordinates.
33 *
34 * \param pi the page info window to position
35 * \param x the X coordinate for the top left of the window
36 * \param y the Y coordinate for the top left of the window
37 */
38void nsgtk_page_info_set_position(struct nsgtk_pi_window *pi, int x, int y);
39
40#endif
nserror
Enumeration of error codes.
Definition: errors.h:29
nserror nsgtk_page_info(struct browser_window *bw)
Page information window.
Definition: page_info.c:163
void nsgtk_page_info_set_position(struct nsgtk_pi_window *pi, int x, int y)
Position the given page information window at the given coordinates.
Definition: page_info.c:253
Browser window data.
GTK certificate viewing window context.
Definition: page_info.c:47