gtkrecentchooserprivate.h 2.39 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/* gtkrecentprivatechooser.h - Interface definitions for recent selectors UI
 *
 * Copyright (C) 2006 Emmanuele Bassi
 *
 * All rights reserved
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * 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.
 */
22

23 24 25 26 27
#ifndef __GTK_RECENT_CHOOSER_PRIVATE_H__
#define __GTK_RECENT_CHOOSER_PRIVATE_H__

#include "gtkrecentmanager.h"
#include "gtkrecentchooser.h"
28
#include "gtkactivatable.h"
29 30 31

G_BEGIN_DECLS

32 33 34 35 36
GtkRecentManager *_gtk_recent_chooser_get_recent_manager     (GtkRecentChooser  *chooser);
GList *           _gtk_recent_chooser_get_items              (GtkRecentChooser  *chooser,
							      GtkRecentFilter   *filter,
							      GtkRecentSortFunc  func,
							      gpointer           data);
37

38 39 40
void              _gtk_recent_chooser_item_activated         (GtkRecentChooser  *chooser);
void              _gtk_recent_chooser_selection_changed      (GtkRecentChooser  *chooser);

41
void              _gtk_recent_chooser_update                 (GtkActivatable       *activatable,
42 43
							      GtkAction            *action,
							      const gchar          *property_name);
44
void              _gtk_recent_chooser_sync_action_properties (GtkActivatable       *activatable,
45 46 47 48 49 50 51
							      GtkAction            *action);
void              _gtk_recent_chooser_set_related_action     (GtkRecentChooser     *recent_chooser, 
							      GtkAction            *action);
GtkAction        *_gtk_recent_chooser_get_related_action     (GtkRecentChooser     *recent_chooser);
void              _gtk_recent_chooser_set_use_action_appearance (GtkRecentChooser  *recent_chooser, 
								 gboolean           use_appearance);
gboolean          _gtk_recent_chooser_get_use_action_appearance (GtkRecentChooser  *recent_chooser);
52 53

G_END_DECLS
54

55
#endif /* ! __GTK_RECENT_CHOOSER_PRIVATE_H__ */