#include <config.h>
#include "gschem.h"
Go to the source code of this file.
Functions |
gboolean | x_show_uri (GSCHEM_TOPLEVEL *w_current, const gchar *uri, GError **error) |
| Launch default application for a URI.
|
Function Documentation
gboolean x_show_uri |
( |
GSCHEM_TOPLEVEL * |
w_current, |
|
|
const gchar * |
uri, |
|
|
GError ** |
error |
|
) |
| |
- Function Description
- Launches the default application associated with uri on the host platform.
Depending on the way gEDA was configured, this may occur by one of the following three methods:
- Calling gtk_show_uri() to use the GIO library (default on Linux)
- Calling the ShellExecute() Windows API call (default on Windows)
- Running an appropriate external tool.
- Parameters:
-
w_current | Current GSCHEM_TOPLEVEL structure. |
uri | URI to launch viewer for. |
error | Location to return error information. |
- Returns:
- TRUE on success, FALSE on failure.
Definition at line 114 of file x_misc.c.