source: trunk/gtk/actions.h @ 5122

Last change on this file since 5122 was 5122, checked in by charles, 14 years ago

(gtk) make the filename naming scheme a little more consistent.

  • Property svn:keywords set to Date Rev Author Id
File size: 819 bytes
Line 
1/*
2 * This file Copyright (C) 2007-2008 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 5122 2008-02-26 19:58:03Z 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.