Logo Search packages:      
Sourcecode: gnome-compiz-manager version File versions

gcm-page.h

/* Generated by GOB (v2.0.14)   (do not edit directly) */

#include <glib.h>
#include <glib-object.h>
#ifndef __GCM_PAGE_H__
#define __GCM_PAGE_H__



#include <gnome.h>
      
#include "gcm-gl-desktop.h"


/*
 * Type checking and casting macros
 */
#define GCM_TYPE_PAGE   (gcm_page_get_type())
#define GCM_PAGE(obj)   G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_page_get_type(), GCMPage)
#define GCM_PAGE_CONST(obj)   G_TYPE_CHECK_INSTANCE_CAST((obj), gcm_page_get_type(), GCMPage const)
#define GCM_PAGE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), gcm_page_get_type(), GCMPageClass)
#define GCM_IS_PAGE(obj)      G_TYPE_CHECK_INSTANCE_TYPE((obj), gcm_page_get_type ())

#define GCM_PAGE_GET_CLASS(obj)     G_TYPE_INSTANCE_GET_CLASS((obj), gcm_page_get_type(), GCMPageClass)

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCM_PAGE__
#define __TYPEDEF_GCM_PAGE__
typedef struct _GCMPage GCMPage;
#endif
struct _GCMPage {
      GtkFrame __parent__;
      /*< public >*/
      gchar * label;
      gint tab_num;
      /*< private >*/
      GCMGLDesktop * gl_desktop; /* protected */
};

/*
 * Class definition
 */
typedef struct _GCMPageClass GCMPageClass;
struct _GCMPageClass {
      GtkFrameClass __parent__;
      gboolean (* construct) (GCMPage * self);
};


/*
 * Public methods
 */
GType gcm_page_get_type (void);
gboolean    gcm_page_construct      (GCMPage * self);
gint  gcm_page_compare_pos    (GCMPage * self,
                              GCMPage * other);

/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GCM_PAGE_PROP_GL_DESKTOP(arg)     "gl_desktop", __extension__ ({gpointer z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GCM_PAGE_PROP_GL_DESKTOP(arg)     "gl_desktop",(gpointer )(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index