~vanvugt/ubuntu/oneiric/geeqie/fix-788321

« back to all changes in this revision

Viewing changes to src/ui_tabcomp.h

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2008-06-10 08:42:37 UTC
  • Revision ID: james.westby@ubuntu.com-20080610084237-foorlvywoxj92o04
Tags: upstream-1.0~alpha1
Import upstream version 1.0~alpha1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (SLIK) SimpLIstic sKin functions
 
3
 * (C) 2004 John Ellis
 
4
 * Copyright (C) 2008 The Geeqie Team
 
5
 *
 
6
 * Author: John Ellis
 
7
 *
 
8
 * This software is released under the GNU General Public License (GNU GPL).
 
9
 * Please read the included file COPYING for more information.
 
10
 * This software comes with no warranty of any kind, use at your own risk!
 
11
 */
 
12
 
 
13
#ifndef UI_TABCOMP_H
 
14
#define UI_TABCOMP_H
 
15
 
 
16
 
 
17
GtkWidget *tab_completion_new_with_history(GtkWidget **entry, const gchar *text,
 
18
                                           const gchar *history_key, gint max_levels,
 
19
                                           void (*enter_func)(const gchar *, gpointer), gpointer data);
 
20
const gchar *tab_completion_set_to_last_history(GtkWidget *entry);
 
21
void tab_completion_append_to_history(GtkWidget *entry, const gchar *path);
 
22
 
 
23
GtkWidget *tab_completion_new(GtkWidget **entry, const gchar *text,
 
24
                              void (*enter_func)(const gchar *, gpointer), gpointer data);
 
25
void tab_completion_add_to_entry(GtkWidget *entry, void (*enter_func)(const gchar *, gpointer), gpointer data);
 
26
void tab_completion_add_tab_func(GtkWidget *entry, void (*tab_func)(const gchar *, gpointer), gpointer data);
 
27
gchar *remove_trailing_slash(const gchar *path);
 
28
 
 
29
void tab_completion_add_select_button(GtkWidget *entry, const gchar *title, gint folders_only);
 
30
 
 
31
 
 
32
#endif