Fixed bug reporting the significance of paired value t-test.
[pspp-builds.git] / lib / gtksheet / gtkitementry.h
1 /* GtkItemEntry - widget for gtk+
2  * Copyright (C) 1999-2001 Adrian E. Feiguin <adrian@ifir.ifir.edu.ar>
3  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
4  *
5  * GtkItemEntry widget by Adrian E. Feiguin
6  * Based on GtkEntry widget
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library 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.  See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */
22 #ifndef __GTK_ITEM_ENTRY_H__
23 #define __GTK_ITEM_ENTRY_H__
24
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29
30
31 #define GTK_TYPE_ITEM_ENTRY            (gtk_item_entry_get_type ())
32 #define GTK_ITEM_ENTRY(obj)            (GTK_CHECK_CAST (obj, gtk_item_entry_get_type (), GtkItemEntry))
33 #define GTK_ITEM_ENTRY_CLASS(klass)    (GTK_CHECK_CLASS_CAST (klass, gtk_item_entry_get_type (), GtkItemEntryClass))
34 #define GTK_IS_ITEM_ENTRY(obj)         (GTK_CHECK_TYPE (obj, gtk_item_entry_get_type ()))
35 #define GTK_IS_ITEM_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY))
36
37
38 typedef struct _GtkItemEntry       GtkItemEntry;
39 typedef struct _GtkItemEntryClass  GtkItemEntryClass;
40
41 struct _GtkItemEntry
42 {
43   GtkEntry parent;
44
45   gint text_max_size;
46
47   GtkJustification justification;
48 };
49
50 struct _GtkItemEntryClass
51 {
52   GtkEntryClass parent_class;
53 };
54
55 GtkType    gtk_item_entry_get_type       (void);
56 GtkWidget* gtk_item_entry_new            (void);
57 GtkWidget* gtk_item_entry_new_with_max_length (gint   max);
58 void       gtk_item_entry_set_text            (GtkItemEntry *item_entry,
59                                                const gchar *text,
60                                                GtkJustification justification);
61
62 void       gtk_item_entry_set_justification (GtkItemEntry        *item_entry,
63                                              GtkJustification   justification);
64
65 void       gtk_item_entry_set_cursor_visible    (GtkItemEntry *entry,
66                                                  gboolean visible);
67 gboolean   gtk_item_entry_get_cursor_visible    (GtkItemEntry *entry);
68
69
70
71 #ifdef __cplusplus
72 }
73 #endif /* __cplusplus */
74
75
76 #endif /* __GTK_ITEM_ENTRY_H__ */