view src/info.h @ 684:9f00d0d874fa

Save order of Properties dialog tabs to rc file. Users of GTK+ <2.10 can set tabs order directly in the rc file, others can move tabs using drag'n drop. The option is named properties.tabs_order, its default value is "123" which is General, Keywords, Exif tabs (left to right).
author zas_
date Sun, 18 May 2008 21:14:01 +0000
parents 5212d4fed37f
children ae618ebec3e9
line wrap: on
line source

/*
 * Geeqie
 * (C) 2004 John Ellis
 * Copyright (C) 2008 The Geeqie Team
 *
 * Author: John Ellis
 *
 * This software is released under the GNU General Public License (GNU GPL).
 * Please read the included file COPYING for more information.
 * This software comes with no warranty of any kind, use at your own risk!
 */


#ifndef INFO_H
#define INFO_H


typedef struct _InfoData InfoData;
struct _InfoData
{
	GtkWidget *window;
	GtkWidget *parent;

	ImageWindow *image;

	GList *list;

	FileData *fd;

	GtkWidget *notebook;
	GtkWidget *name_entry;

	GtkWidget *button_next;
	GtkWidget *button_back;
	GtkWidget *label_count;

	GList *tab_list;

	gint updated;
};


void info_window_new(FileData *fd, GList *list, GtkWidget *parent);

GtkWidget *table_add_line(GtkWidget *table, gint x, gint y,
			  const gchar *description, const gchar *text);

gchar *info_tab_default_order(void);

#endif