/* * mooui/mooaccel.h * * Copyright (C) 2004-2005 by Yevgen Muntyan * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * See COPYING file that comes with this distribution. */ #ifndef MOOUI_MOOACCEL_H #define MOOUI_MOOACCEL_H #include G_BEGIN_DECLS void moo_prefs_set_accel (const char *accel_path, const char *accel); const char *moo_prefs_get_accel (const char *accel_path); void moo_set_accel (const char *accel_path, const char *accel); const char *moo_get_accel (const char *accel_path); void moo_set_default_accel (const char *accel_path, const char *accel); const char *moo_get_default_accel (const char *accel_path); char *moo_get_accel_label (const char *accel); char *moo_get_accel_label_by_path (const char *accel_path); void moo_accel_label_set_action (GtkWidget *label, MooAction *action); GtkWidget *moo_accel_prefs_page_new (MooActionGroup *group); GtkWidget *moo_accel_prefs_dialog_new (MooActionGroup *group); void moo_accel_prefs_dialog_run (MooActionGroup *group, GtkWidget *parent); G_END_DECLS #endif /* MOOUI_MOOACCEL_H */