Updated Spanish translation
[anjuta-git-plugin.git] / plugins / document-manager / search-box.h
blob8ac51256dce256a2b53c99d5ae1f68f6f86cf8ba
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta
4 * Copyright (C) Johannes Schmid 2007 <jhs@gnome.org>
5 *
6 * anjuta is free software.
7 *
8 * You may redistribute it and/or modify it under the terms of the
9 * GNU General Public License, as published by the Free Software
10 * Foundation; either version 2 of the License, or (at your option)
11 * any later version.
13 * anjuta is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 * See the GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with anjuta. If not, write to:
20 * The Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor
22 * Boston, MA 02110-1301, USA.
25 #ifndef _SEARCH_BOX_H_
26 #define _SEARCH_BOX_H_
28 #include <gtk/gtkbox.h>
29 #include "anjuta-docman.h"
31 G_BEGIN_DECLS
33 #define SEARCH_TYPE_BOX (search_box_get_type ())
34 #define SEARCH_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEARCH_TYPE_BOX, SearchBox))
35 #define SEARCH_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SEARCH_TYPE_BOX, SearchBoxClass))
36 #define SEARCH_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SEARCH_TYPE_BOX))
37 #define SEARCH_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SEARCH_TYPE_BOX))
38 #define SEARCH_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SEARCH_TYPE_BOX, SearchBoxClass))
40 typedef struct _SearchBoxClass SearchBoxClass;
41 typedef struct _SearchBox SearchBox;
43 struct _SearchBoxClass
45 GtkHBoxClass parent_class;
48 struct _SearchBox
50 GtkHBox parent_instance;
52 GtkWidget* new;
56 GType search_box_get_type (void);
57 GtkWidget* search_box_new (DocmanPlugin* plugin);
59 void search_box_grab_search_focus (SearchBox* search_box);
60 void search_box_grab_line_focus (SearchBox* search_box);
62 G_END_DECLS
64 #endif /* _SEARCH_BOX_H_ */