source: trunk/gtk/actions.h @ 4221

Last change on this file since 4221 was 4221, checked in by charles, 15 years ago

cleaner actions/prefs integration.

  • Property svn:keywords set to Date Rev Author Id
File size: 814 bytes
Line 
1/*
2 * This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
3 *
4 * This file is licensed by the GPL version 2.  Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
6 * so that the bulk of its code can remain under the MIT license.
7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
9 *
10 * $Id: actions.h 4221 2007-12-19 18:42:33Z charles $
11 */
12
13#ifndef TR_ACTIONS_H
14#define TR_ACTIONS_H
15
16#include <gtk/gtk.h>
17#include "tr_core.h"
18
19void actions_init ( GtkUIManager * ui_manager, gpointer callback_user_data );
20
21void actions_set_core( TrCore * core );
22
23void action_activate ( const char * name );
24
25void action_sensitize ( const char * name, gboolean b );
26
27void action_toggle ( const char * name, gboolean b );
28
29GtkWidget* action_get_widget ( const char * path );
30
31#endif
Note: See TracBrowser for help on using the repository browser.