~ubuntu-branches/ubuntu/hardy/gnome-commander/hardy

« back to all changes in this revision

Viewing changes to libgcmd/gnome-cmd-string-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-06-13 15:39:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060613153948-gvrt3mb2ddk5u62o
Tags: 1.2.0-3
added --disable-scrollkeeper on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
    GNOME Commander - A GNOME based file manager 
 
2
    GNOME Commander - A GNOME based file manager
3
3
    Copyright (C) 2001-2006 Marcus Bjurman
4
4
 
5
5
    This program is free software; you can redistribute it and/or modify
15
15
    You should have received a copy of the GNU General Public License
16
16
    along with this program; if not, write to the Free Software
17
17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 
*/ 
 
18
*/
19
19
#ifndef __GNOME_CMD_STRING_DIALOG_H__
20
20
#define __GNOME_CMD_STRING_DIALOG_H__
21
21
 
22
22
#define GNOME_CMD_STRING_DIALOG(obj) \
23
 
        GTK_CHECK_CAST (obj, gnome_cmd_string_dialog_get_type (), GnomeCmdStringDialog)
 
23
    GTK_CHECK_CAST (obj, gnome_cmd_string_dialog_get_type (), GnomeCmdStringDialog)
24
24
#define GNOME_CMD_STRING_DIALOG_CLASS(klass) \
25
 
        GTK_CHECK_CLASS_CAST (klass, gnome_cmd_string_dialog_get_type (), GnomeCmdStringDialogClass)
 
25
    GTK_CHECK_CLASS_CAST (klass, gnome_cmd_string_dialog_get_type (), GnomeCmdStringDialogClass)
26
26
#define GNOME_CMD_IS_STRING_DIALOG(obj) \
27
 
        GTK_CHECK_TYPE (obj, gnome_cmd_string_dialog_get_type ())
 
27
    GTK_CHECK_TYPE (obj, gnome_cmd_string_dialog_get_type ())
28
28
 
29
29
 
30
30
typedef struct _GnomeCmdStringDialog GnomeCmdStringDialog;
35
35
 
36
36
struct _GnomeCmdStringDialog
37
37
{
38
 
        GnomeCmdDialog parent;
39
 
 
40
 
        gint rows;
41
 
        GtkWidget **labels;
42
 
        GtkWidget **entries;
43
 
        
44
 
        GnomeCmdStringDialogPrivate *priv;
 
38
    GnomeCmdDialog parent;
 
39
 
 
40
    gint rows;
 
41
    GtkWidget **labels;
 
42
    GtkWidget **entries;
 
43
 
 
44
    GnomeCmdStringDialogPrivate *priv;
45
45
};
46
46
 
47
47
 
48
48
struct _GnomeCmdStringDialogClass
49
49
{
50
 
        GnomeCmdDialogClass parent_class;
 
50
    GnomeCmdDialogClass parent_class;
51
51
};
52
52
 
53
53
 
54
54
typedef gboolean (*GnomeCmdStringDialogCallback)(GnomeCmdStringDialog *dialog,
55
 
                                                                                                 const gchar **values,
56
 
                                                                                                 gpointer user_data);
57
 
 
58
 
 
59
 
GtkWidget* 
 
55
                                                 const gchar **values,
 
56
                                                 gpointer user_data);
 
57
 
 
58
 
 
59
GtkWidget*
60
60
gnome_cmd_string_dialog_new_with_cancel (const gchar *title,
61
 
                                                                                 const gchar **labels,
62
 
                                                                                 gint rows,
63
 
                                                                                 GnomeCmdStringDialogCallback ok_cb,
64
 
                                                                                 GtkSignalFunc cancel_cb,
65
 
                                                                                 gpointer user_data);
 
61
                                         const gchar **labels,
 
62
                                         gint rows,
 
63
                                         GnomeCmdStringDialogCallback ok_cb,
 
64
                                         GtkSignalFunc cancel_cb,
 
65
                                         gpointer user_data);
66
66
 
67
 
GtkWidget* 
 
67
GtkWidget*
68
68
gnome_cmd_string_dialog_new (const gchar *title,
69
 
                                                         const gchar **labels,
70
 
                                                         gint rows,
71
 
                                                         GnomeCmdStringDialogCallback ok_cb,
72
 
                                                         gpointer user_data);
 
69
                             const gchar **labels,
 
70
                             gint rows,
 
71
                             GnomeCmdStringDialogCallback ok_cb,
 
72
                             gpointer user_data);
73
73
 
74
74
void
75
75
gnome_cmd_string_dialog_setup_with_cancel (GnomeCmdStringDialog *dialog,
76
 
                                                                                   const gchar *title,
77
 
                                                                                   const gchar **labels,
78
 
                                                                                   gint rows,
79
 
                                                                                   GnomeCmdStringDialogCallback ok_cb,
80
 
                                                                                   GtkSignalFunc cancel_cb,
81
 
                                                                                   gpointer user_data);
 
76
                                           const gchar *title,
 
77
                                           const gchar **labels,
 
78
                                           gint rows,
 
79
                                           GnomeCmdStringDialogCallback ok_cb,
 
80
                                           GtkSignalFunc cancel_cb,
 
81
                                           gpointer user_data);
82
82
 
83
83
void
84
84
gnome_cmd_string_dialog_setup (GnomeCmdStringDialog *dialog,
85
 
                                                           const gchar *title,
86
 
                                                           const gchar **labels,
87
 
                                                           gint rows,
88
 
                                                           GnomeCmdStringDialogCallback ok_cb,
89
 
                                                           gpointer user_data);
 
85
                               const gchar *title,
 
86
                               const gchar **labels,
 
87
                               gint rows,
 
88
                               GnomeCmdStringDialogCallback ok_cb,
 
89
                               gpointer user_data);
90
90
 
91
91
GtkType
92
92
gnome_cmd_string_dialog_get_type (void);