Updated Spanish translation
[anjuta.git] / plugins / tools / dialog.h
blob70ccdd5794b347119c2d0876b59c27c04d898339
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 dialog.h
4 Copyright (C) 2003 Biswapesh Chattopadhyay
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __DIALOG_H__
22 #define __DIALOG_H__
24 #include "plugin.h"
25 #include "editor.h"
26 #include "variable.h"
28 #include <gtk/gtk.h>
30 typedef struct _ATPToolDialog ATPToolDialog;
32 struct _ATPToolDialog {
33 GtkWindow* dialog;
34 GtkTreeView* view;
35 gboolean changed_sig ;
36 GtkWidget *edit_bt;
37 GtkWidget *delete_bt;
38 GtkWidget *up_bt;
39 GtkWidget *down_bt;
40 ATPToolEditorList tedl;
41 ATPPlugin* plugin;
44 void atp_tool_dialog_construct (ATPToolDialog *this, ATPPlugin *plugin);
45 void atp_tool_dialog_destroy (ATPToolDialog *this);
47 GtkWindow* atp_tool_dialog_get_window (const ATPToolDialog *this);
48 void atp_tool_dialog_refresh (const ATPToolDialog *this, const gchar* select);
50 ATPVariable* atp_tool_dialog_get_variable (const ATPToolDialog *this);
52 void atp_tool_dialog_show (ATPToolDialog *this, GtkBuilder *xml);
53 void atp_tool_dialog_close (ATPToolDialog *this);
55 #endif