* 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.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_CELL_ACCESSIBLE_H__
#define __GTK_CELL_ACCESSIBLE_H__
#include <atk/atk.h>
+#include "gtk/gtkaccessible.h"
G_BEGIN_DECLS
struct _GtkCellAccessible
{
- AtkObject parent;
-
- GtkWidget *widget;
- AtkStateSet *state_set;
- GList *action_list;
+ GtkAccessible parent;
};
struct _GtkCellAccessibleClass
{
- AtkObjectClass parent_class;
+ GtkAccessibleClass parent_class;
+ void (*update_cache) (GtkCellAccessible *cell);
};
GType _gtk_cell_accessible_get_type (void);
GtkCellRendererState
- _gtk_cell_accessible_get_state (GtkCellAccessible *cell,
- gboolean *expandable,
- gboolean *expanded);
-void _gtk_cell_accessible_set_cell_data (GtkCellAccessible *cell);
+ _gtk_cell_accessible_get_state (GtkCellAccessible *cell);
+void _gtk_cell_accessible_state_changed (GtkCellAccessible *cell,
+ GtkCellRendererState added,
+ GtkCellRendererState removed);
+void _gtk_cell_accessible_update_cache (GtkCellAccessible *cell);
void _gtk_cell_accessible_initialise (GtkCellAccessible *cell,
GtkWidget *widget,
gboolean _gtk_cell_accessible_remove_state (GtkCellAccessible *cell,
AtkStateType state_type,
gboolean emit_signal);
-gboolean _gtk_cell_accessible_add_action (GtkCellAccessible *cell,
- const gchar *name,
- const gchar *description,
- const gchar *keybinding,
- void (*func) (GtkCellAccessible *));
-
-gboolean _gtk_cell_accessible_remove_action (GtkCellAccessible *cell,
- gint index);
-gboolean _gtk_cell_accessible_remove_action_by_name
- (GtkCellAccessible *cell,
- const gchar *name);
G_END_DECLS