Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkatspisocket.h
Go to the documentation of this file.
1/* gtkatspisocket.h: AT-SPI socket accessible object
2 *
3 * Copyright 2024 GNOME Foundation Inc.
4 * 2024 Igalia S.L.
5 *
6 * SPDX-License-Identifier: LGPL-2.1-or-later
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24#if !defined (__GTKATSPI_H_INSIDE__) && !defined (GTK_COMPILATION)
25#error "Only <gtk/a11y/gtkatspi.h> can be included directly."
26#endif
27
28#include <gtk/gtkaccessible.h>
29
31
32#define GTK_TYPE_AT_SPI_SOCKET (gtk_at_spi_socket_get_type())
33
35G_DECLARE_FINAL_TYPE (GtkAtSpiSocket, gtk_at_spi_socket, GTK, AT_SPI_SOCKET, GObject)
36
38GtkAccessible * gtk_at_spi_socket_new (const char *bus_name,
39 const char *object_path,
40 GError **error);
41
43const char * gtk_at_spi_socket_get_bus_name (GtkAtSpiSocket *self);
44
46const char * gtk_at_spi_socket_get_object_path (GtkAtSpiSocket *self);
47
#define GDK_AVAILABLE_IN_4_14
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
GDK_AVAILABLE_IN_4_14 GDK_AVAILABLE_IN_4_14 GtkAccessible * gtk_at_spi_socket_new(const char *bus_name, const char *object_path, GError **error)
GDK_AVAILABLE_IN_4_14 const char * gtk_at_spi_socket_get_object_path(GtkAtSpiSocket *self)
GDK_AVAILABLE_IN_4_14 const char * gtk_at_spi_socket_get_bus_name(GtkAtSpiSocket *self)
#define G_DECLARE_FINAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1602
static void error(LoadState *S, const char *why)