Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkspinner.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 *
3 * Copyright (C) 2007 John Stowers, Neil Jagdish Patel.
4 * Copyright (C) 2009 Bastien Nocera, David Zeuthen
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * Code adapted from egg-spinner
20 * by Christian Hergert <christian.hergert@gmail.com>
21 */
22
23#pragma once
24
25#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
26#error "Only <gtk/gtk.h> can be included directly."
27#endif
28
29#include <gtk/gtkwidget.h>
30
32
33#define GTK_TYPE_SPINNER (gtk_spinner_get_type ())
34#define GTK_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinner))
35#define GTK_IS_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER))
36
37typedef struct _GtkSpinner GtkSpinner;
38
39
50 gboolean spinning);
53
55
57
#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 void gtk_spinner_start(GtkSpinner *spinner)
struct _GtkSpinner GtkSpinner
Definition gtkspinner.h:37
GDK_AVAILABLE_IN_ALL gboolean gtk_spinner_get_spinning(GtkSpinner *spinner)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_spinner_new(void)
GDK_AVAILABLE_IN_ALL void gtk_spinner_set_spinning(GtkSpinner *spinner, gboolean spinning)
GDK_AVAILABLE_IN_ALL GType gtk_spinner_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL void gtk_spinner_stop(GtkSpinner *spinner)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56