Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkscalebutton.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * Copyright (C) 2005 Ronald S. Bultje
3 * Copyright (C) 2006, 2007 Christian Persch
4 * Copyright (C) 2006 Jan Arne Petersen
5 * Copyright (C) 2007 Red Hat, Inc.
6 *
7 * Authors:
8 * - Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9 * - Bastien Nocera <bnocera@redhat.com>
10 * - Jan Arne Petersen <jpetersen@jpetersen.org>
11 * - Christian Persch <chpe@svn.gnome.org>
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
25 */
26
27/*
28 * Modified by the GTK+ Team and others 2007. See the AUTHORS
29 * file for a list of people on the GTK+ Team. See the ChangeLog
30 * files for a list of changes. These files are distributed with
31 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
32 */
33
34#pragma once
35
36#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
37#error "Only <gtk/gtk.h> can be included directly."
38#endif
39
40#include <gtk/gtkwidget.h>
41
43
44#define GTK_TYPE_SCALE_BUTTON (gtk_scale_button_get_type ())
45#define GTK_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButton))
46#define GTK_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass))
47#define GTK_IS_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_BUTTON))
48#define GTK_IS_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_BUTTON))
49#define GTK_SCALE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass))
50
53
58
60{
62
63 /* signals */
64 void (* value_changed) (GtkScaleButton *button,
65 double value);
66
67 /*< private >*/
68
70};
71
76 double max,
77 double step,
78 const char **icons);
81 const char **icons);
86 double value);
91 GtkAdjustment *adjustment);
104 gboolean has_frame);
105
107
109
#define GDK_AVAILABLE_IN_4_10
#define GDK_AVAILABLE_IN_4_14
#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_scale_button_new(double min, double max, double step, const char **icons)
GDK_AVAILABLE_IN_4_14 gboolean gtk_scale_button_get_has_frame(GtkScaleButton *button)
GDK_AVAILABLE_IN_ALL void gtk_scale_button_set_icons(GtkScaleButton *button, const char **icons)
GDK_AVAILABLE_IN_4_10 gboolean gtk_scale_button_get_active(GtkScaleButton *button)
GDK_AVAILABLE_IN_ALL void gtk_scale_button_set_adjustment(GtkScaleButton *button, GtkAdjustment *adjustment)
GDK_AVAILABLE_IN_ALL double gtk_scale_button_get_value(GtkScaleButton *button)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_scale_button_get_popup(GtkScaleButton *button)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_scale_button_get_minus_button(GtkScaleButton *button)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_scale_button_get_plus_button(GtkScaleButton *button)
GDK_AVAILABLE_IN_ALL GType gtk_scale_button_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GtkAdjustment * gtk_scale_button_get_adjustment(GtkScaleButton *button)
GDK_AVAILABLE_IN_4_14 void gtk_scale_button_set_has_frame(GtkScaleButton *button, gboolean has_frame)
GDK_AVAILABLE_IN_ALL void gtk_scale_button_set_value(GtkScaleButton *button, double value)
typedefG_BEGIN_DECLS struct _GtkAdjustment GtkAdjustment
Definition gtktypes.h:35
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
int value
Definition lsqlite3.c:2155
GtkWidgetClass parent_class
void(* value_changed)(GtkScaleButton *button, double value)
GtkWidget parent_instance