Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtklinkbutton.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * gtklinkbutton.h - a hyperlink-enabled button
3 *
4 * Copyright (C) 2005 Emmanuele Bassi <ebassi@gmail.com>
5 * All rights reserved.
6 *
7 * Based on gnome-href code by:
8 * James Henstridge <james@daa.com.au>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details.
19 *
20 * You should have received a copy of the GNU Library General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24#pragma once
25
26#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
27#error "Only <gtk/gtk.h> can be included directly."
28#endif
29
30#include <gtk/gtkbutton.h>
31
33
34#define GTK_TYPE_LINK_BUTTON (gtk_link_button_get_type ())
35#define GTK_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LINK_BUTTON, GtkLinkButton))
36#define GTK_IS_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LINK_BUTTON))
37
38typedef struct _GtkLinkButton GtkLinkButton;
39
42
44GtkWidget * gtk_link_button_new (const char *uri);
47 const char *label);
48
50const char * gtk_link_button_get_uri (GtkLinkButton *link_button);
53 const char *uri);
54
59 gboolean visited);
60
62
64
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_link_button_new_with_label(const char *uri, const char *label)
GDK_AVAILABLE_IN_ALL const char * gtk_link_button_get_uri(GtkLinkButton *link_button)
GDK_AVAILABLE_IN_ALL void gtk_link_button_set_uri(GtkLinkButton *link_button, const char *uri)
struct _GtkLinkButton GtkLinkButton
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_link_button_new(const char *uri)
GDK_AVAILABLE_IN_ALL gboolean gtk_link_button_get_visited(GtkLinkButton *link_button)
GDK_AVAILABLE_IN_ALL void gtk_link_button_set_visited(GtkLinkButton *link_button, gboolean visited)
GDK_AVAILABLE_IN_ALL GType gtk_link_button_get_type(void) G_GNUC_CONST
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56