mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
a0b3a069f1
2009-02-26 Li Yuan <li.yuan@sun.com> * Makefile.am: * gail.c: (gail_accessibility_module_init): * gail.h: * gailscalebutton.c: (gail_scale_button_class_init), (gail_scale_button_init), (gail_scale_button_initialize), (atk_action_interface_init), (gail_scale_button_do_action), (gail_scale_button_get_n_actions), (gail_scale_button_get_description), (gail_scale_button_action_get_name), (gail_scale_button_get_keybinding), (gail_scale_button_set_description), (atk_value_interface_init), (gail_scale_button_get_current_value), (gail_scale_button_get_maximum_value), (gail_scale_button_get_minimum_value), (gail_scale_button_get_minimum_increment), (gail_scale_button_set_current_value), (gail_scale_button_notify_gtk): * gailscalebutton.h: Bug #519090. Add accessibility support to GtkScaleButton. Support action and value interfaces. Patch from Jan Arne Petersen. svn path=/trunk/; revision=22411
53 lines
2.0 KiB
C
53 lines
2.0 KiB
C
/* GAIL - The GNOME Accessibility Implementation Library
|
|
* Copyright 2008 Jan Arne Petersen <jap@gnome.org>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GAIL_SCALE_BUTTON_H__
|
|
#define __GAIL_SCALE_BUTTON_H__
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <gail/gailbutton.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GAIL_TYPE_SCALE_BUTTON (gail_scale_button_get_type ())
|
|
#define GAIL_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCALE_BUTTON, GailScaleButton))
|
|
#define GAIL_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_TYPE_SCALE_BUTTON, GailScaleButtonClass))
|
|
#define GAIL_IS_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIL_TYPE_SCALE_BUTTON))
|
|
#define GAIL_IS_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIL_TYPE_SCALE_BUTTON))
|
|
#define GAIL_SCALE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIL_TYPE_SCALE_BUTTON, GailScaleButtonClass))
|
|
|
|
typedef struct _GailScaleButton GailScaleButton;
|
|
typedef struct _GailScaleButtonClass GailScaleButtonClass;
|
|
|
|
struct _GailScaleButton
|
|
{
|
|
GailButton parent;
|
|
};
|
|
|
|
struct _GailScaleButtonClass
|
|
{
|
|
GailButtonClass parent_class;
|
|
};
|
|
|
|
GType gail_scale_button_get_type (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GAIL_SCALE_BUTTON_H__ */
|