|
Packit |
1e8aac |
/*
|
|
Packit |
1e8aac |
* glade-named-icon-chooser-dialog.h - Named icon chooser dialog
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* Copyright (C) 2007 Vincent Geddes
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* Author: Vincent Geddes <vgeddes@gnome.org>
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* This program is free software; you can redistribute it and/or modify
|
|
Packit |
1e8aac |
* it under the terms of the GNU General Public License as published by
|
|
Packit |
1e8aac |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit |
1e8aac |
* (at your option) any later version.
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
1e8aac |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
1e8aac |
* MERCHANNAMED_ICON_CHOOSERILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
1e8aac |
* GNU General Public License for more details.
|
|
Packit |
1e8aac |
*
|
|
Packit |
1e8aac |
* You should have received a copy of the GNU General Public License
|
|
Packit |
1e8aac |
* along with this program; if not, write to the Free Software
|
|
Packit |
1e8aac |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
Packit |
1e8aac |
*/
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#ifndef __GLADE_NAMED_ICON_CHOOSER_DIALOG_H__
|
|
Packit |
1e8aac |
#define __GLADE_NAMED_ICON_CHOOSER_DIALOG_H__
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#include <gtk/gtk.h>
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
G_BEGIN_DECLS
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#define GLADE_TYPE_NAMED_ICON_CHOOSER_DIALOG (glade_named_icon_chooser_dialog_get_type ())
|
|
Packit |
1e8aac |
#define GLADE_NAMED_ICON_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_NAMED_ICON_CHOOSER_DIALOG, GladeNamedIconChooserDialog))
|
|
Packit |
1e8aac |
#define GLADE_IS_NAMED_ICON_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_NAMED_ICON_CHOOSER_DIALOG))
|
|
Packit |
1e8aac |
#define GLADE_NAMED_ICON_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_NAMED_ICON_CHOOSER_DIALOG, GladeNamedIconChooserDialogClass))
|
|
Packit |
1e8aac |
#define GLADE_IS_NAMED_ICON_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_NAMED_ICON_CHOOSER_DIALOG))
|
|
Packit |
1e8aac |
#define GLADE_NAMED_ICON_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GLADE_TYPE_NAMED_ICON_CHOOSER_DIALOG, GladeNamedIconChooserDialogClass))
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
typedef struct _GladeNamedIconChooserDialog GladeNamedIconChooserDialog;
|
|
Packit |
1e8aac |
typedef struct _GladeNamedIconChooserDialogPrivate GladeNamedIconChooserDialogPrivate;
|
|
Packit |
1e8aac |
typedef struct _GladeNamedIconChooserDialogClass GladeNamedIconChooserDialogClass;
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
struct _GladeNamedIconChooserDialog
|
|
Packit |
1e8aac |
{
|
|
Packit |
1e8aac |
GtkDialog parent_instance;
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
GladeNamedIconChooserDialogPrivate *priv;
|
|
Packit |
1e8aac |
};
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
struct _GladeNamedIconChooserDialogClass
|
|
Packit |
1e8aac |
{
|
|
Packit |
1e8aac |
GtkDialogClass parent_class;
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void (* icon_activated) (GladeNamedIconChooserDialog *dialog);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void (* selection_changed) (GladeNamedIconChooserDialog *dialog);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void (* glade_reserved1) (void);
|
|
Packit |
1e8aac |
void (* glade_reserved2) (void);
|
|
Packit |
1e8aac |
void (* glade_reserved3) (void);
|
|
Packit |
1e8aac |
void (* glade_reserved4) (void);
|
|
Packit |
1e8aac |
};
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
GType glade_named_icon_chooser_dialog_get_type (void) G_GNUC_CONST;
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
GtkWidget *glade_named_icon_chooser_dialog_new (const gchar *title,
|
|
Packit |
1e8aac |
GtkWindow *parent,
|
|
Packit |
1e8aac |
const gchar *first_button_text,
|
|
Packit |
1e8aac |
...) G_GNUC_NULL_TERMINATED;
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
gchar *glade_named_icon_chooser_dialog_get_icon_name (GladeNamedIconChooserDialog *chooser);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
void glade_named_icon_chooser_dialog_set_icon_name (GladeNamedIconChooserDialog *chooser,
|
|
Packit |
1e8aac |
const gchar *icon_name);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
gboolean glade_named_icon_chooser_dialog_set_context (GladeNamedIconChooserDialog *chooser,
|
|
Packit |
1e8aac |
const gchar *context);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
gchar *glade_named_icon_chooser_dialog_get_context (GladeNamedIconChooserDialog *chooser);
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
G_END_DECLS
|
|
Packit |
1e8aac |
|
|
Packit |
1e8aac |
#endif /* __GLADE_NAMED_ICON_CHOOSER_DIALOG_H__ */
|