Blame gladeui/glade-property-shell.h

Packit 1e8aac
/*
Packit 1e8aac
 * Copyright (C) 2013 Tristan Van Berkom.
Packit 1e8aac
 *
Packit 1e8aac
 * This library is free software; you can redistribute it and/or modify it
Packit 1e8aac
 * under the terms of the GNU Lesser General Public License as
Packit 1e8aac
 * published by the Free Software Foundation; either version 2.1 of
Packit 1e8aac
 * the License, or (at your option) any later version.
Packit 1e8aac
 *
Packit 1e8aac
 * This library is distributed in the hope that it will be useful, but
Packit 1e8aac
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1e8aac
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 1e8aac
 * Lesser General Public License for more details.
Packit 1e8aac
 *
Packit 1e8aac
 * You should have received a copy of the GNU Lesser General Public 
Packit 1e8aac
 * License 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
 * Authors:
Packit 1e8aac
 *   Tristan Van Berkom <tvb@gnome.org>
Packit 1e8aac
 */
Packit 1e8aac
#ifndef __GLADE_PROPERTY_SHELL_H__
Packit 1e8aac
#define __GLADE_PROPERTY_SHELL_H__
Packit 1e8aac
Packit 1e8aac
#include <gtk/gtk.h>
Packit 1e8aac
#include <gladeui/glade-xml-utils.h>
Packit 1e8aac
#include <gladeui/glade-property-class.h>
Packit 1e8aac
#include <gladeui/glade-property.h>
Packit 1e8aac
Packit 1e8aac
G_BEGIN_DECLS
Packit 1e8aac
Packit 1e8aac
#define GLADE_TYPE_PROPERTY_SHELL            (glade_property_shell_get_type ())
Packit 1e8aac
#define GLADE_PROPERTY_SHELL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_PROPERTY_SHELL, GladePropertyShell))
Packit 1e8aac
#define GLADE_PROPERTY_SHELL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_PROPERTY_SHELL, GladePropertyShellClass))
Packit 1e8aac
#define GLADE_IS_PROPERTY_SHELL(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_PROPERTY_SHELL))
Packit 1e8aac
#define GLADE_IS_PROPERTY_SHELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_PROPERTY_SHELL))
Packit 1e8aac
#define GLADE_PROPERTY_SHELL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GLADE_TYPE_PROPERTY_SHELL, GladePropertyShellClass))
Packit 1e8aac
Packit 1e8aac
typedef struct _GladePropertyShell             GladePropertyShell;
Packit 1e8aac
typedef struct _GladePropertyShellClass        GladePropertyShellClass;
Packit 1e8aac
typedef struct _GladePropertyShellPrivate      GladePropertyShellPrivate;
Packit 1e8aac
Packit 1e8aac
struct _GladePropertyShell
Packit 1e8aac
{
Packit 1e8aac
  /*< private >*/
Packit 1e8aac
  GtkBox box;
Packit 1e8aac
Packit 1e8aac
  GladePropertyShellPrivate *priv;
Packit 1e8aac
};
Packit 1e8aac
Packit 1e8aac
struct _GladePropertyShellClass
Packit 1e8aac
{
Packit 1e8aac
  GtkBoxClass parent_class;
Packit 1e8aac
};
Packit 1e8aac
Packit 1e8aac
GType          glade_property_shell_get_type          (void) G_GNUC_CONST;
Packit 1e8aac
Packit 1e8aac
GtkWidget     *glade_property_shell_new               (void);
Packit 1e8aac
Packit 1e8aac
void           glade_property_shell_set_property_name (GladePropertyShell *shell,
Packit 1e8aac
						       const gchar        *property_name);
Packit 1e8aac
const gchar   *glade_property_shell_get_property_name (GladePropertyShell *shell);
Packit 1e8aac
void           glade_property_shell_set_custom_text   (GladePropertyShell *shell,
Packit 1e8aac
						       const gchar        *custom_text);
Packit 1e8aac
const gchar   *glade_property_shell_get_custom_text   (GladePropertyShell *shell);
Packit 1e8aac
void           glade_property_shell_set_packing       (GladePropertyShell *shell,
Packit 1e8aac
						       gboolean            packing);
Packit 1e8aac
gboolean       glade_property_shell_get_packing       (GladePropertyShell *shell);
Packit 1e8aac
void           glade_property_shell_set_use_command   (GladePropertyShell *shell,
Packit 1e8aac
						       gboolean            use_command);
Packit 1e8aac
gboolean       glade_property_shell_get_use_command   (GladePropertyShell *shell);
Packit 1e8aac
void           glade_property_shell_set_disable_check (GladePropertyShell *shell,
Packit 1e8aac
                                                       gboolean            disable_check);
Packit 1e8aac
gboolean       glade_property_shell_get_disable_check (GladePropertyShell *shell);
Packit 1e8aac
Packit 1e8aac
G_END_DECLS
Packit 1e8aac
Packit 1e8aac
#endif /* __GLADE_PROPERTY_SHELL_H__ */