2006-08-15 02:12:41 -05:00
|
|
|
/*
|
|
|
|
* mooaction-private.h
|
|
|
|
*
|
2010-12-21 20:15:45 -08:00
|
|
|
* Copyright (C) 2004-2010 by Yevgen Muntyan <emuntyan@users.sourceforge.net>
|
2006-08-15 02:12:41 -05:00
|
|
|
*
|
2008-09-05 17:20:50 -05:00
|
|
|
* This file is part of medit. medit is free software; you can
|
|
|
|
* redistribute it and/or modify it under the terms of the
|
|
|
|
* GNU Lesser General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2.1 of the License,
|
|
|
|
* or (at your option) any later version.
|
2006-08-15 02:12:41 -05:00
|
|
|
*
|
2008-09-05 17:20:50 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with medit. If not, see <http://www.gnu.org/licenses/>.
|
2006-08-15 02:12:41 -05:00
|
|
|
*/
|
|
|
|
|
2007-04-12 10:31:28 -05:00
|
|
|
#ifndef MOO_ACTION_PRIVATE_H
|
|
|
|
#define MOO_ACTION_PRIVATE_H
|
2006-08-15 02:12:41 -05:00
|
|
|
|
|
|
|
#include <mooutils/mooaction.h>
|
|
|
|
#include <mooutils/mooclosure.h>
|
2011-09-26 00:41:51 -07:00
|
|
|
#include <gtk/gtk.h>
|
2006-08-15 02:12:41 -05:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
|
|
|
void _moo_sync_toggle_action (GtkAction *action,
|
|
|
|
gpointer master,
|
|
|
|
const char *prop,
|
|
|
|
gboolean invert);
|
|
|
|
|
|
|
|
/* defined in mooactionbase.c */
|
|
|
|
gboolean _moo_action_get_dead (gpointer action);
|
|
|
|
gboolean _moo_action_get_has_submenu (gpointer action);
|
|
|
|
|
|
|
|
const char *_moo_action_get_display_name (gpointer action);
|
|
|
|
GtkActionGroup *_moo_action_get_group (gpointer action);
|
|
|
|
|
|
|
|
void _moo_action_set_no_accel (gpointer action,
|
|
|
|
gboolean no_accel);
|
|
|
|
gboolean _moo_action_get_no_accel (gpointer action);
|
2006-11-25 15:01:49 -06:00
|
|
|
gboolean _moo_action_get_connect_accel (gpointer action);
|
|
|
|
gboolean _moo_action_get_accel_editable (gpointer action);
|
2006-08-15 02:12:41 -05:00
|
|
|
char *_moo_action_make_accel_path (gpointer action);
|
|
|
|
void _moo_action_set_accel_path (gpointer action,
|
|
|
|
const char *accel_path);
|
|
|
|
const char *_moo_action_get_accel_path (gpointer action);
|
|
|
|
const char *_moo_action_get_default_accel (gpointer action);
|
|
|
|
|
2007-08-06 23:45:34 -05:00
|
|
|
void _moo_action_ring_the_bells_it_has_tooltip (GtkAction *action);
|
|
|
|
|
2006-08-15 02:12:41 -05:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2007-04-12 10:31:28 -05:00
|
|
|
#endif /* MOO_ACTION_PRIVATE_H */
|