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

gcp-mouse-shortcut.h

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

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



#include <gtk/gtk.h>


typedef enum {
      GCP_MOUSE_SHORTCUT_WIDTH = 200,
      GCP_MOUSE_SHORTCUT_HEIGHT = 300
} GCPMouseShortcutSize;
#define GCP_TYPE_MOUSE_SHORTCUT_SIZE gcp_mouse_shortcut_size_get_type()
GType gcp_mouse_shortcut_size_get_type (void);


/*
 * Type checking and casting macros
 */
#define GCP_TYPE_MOUSE_SHORTCUT     (gcp_mouse_shortcut_get_type())
#define GCP_MOUSE_SHORTCUT(obj)     G_TYPE_CHECK_INSTANCE_CAST((obj), gcp_mouse_shortcut_get_type(), GCPMouseShortcut)
#define GCP_MOUSE_SHORTCUT_CONST(obj)     G_TYPE_CHECK_INSTANCE_CAST((obj), gcp_mouse_shortcut_get_type(), GCPMouseShortcut const)
#define GCP_MOUSE_SHORTCUT_CLASS(klass)   G_TYPE_CHECK_CLASS_CAST((klass), gcp_mouse_shortcut_get_type(), GCPMouseShortcutClass)
#define GCP_IS_MOUSE_SHORTCUT(obj)  G_TYPE_CHECK_INSTANCE_TYPE((obj), gcp_mouse_shortcut_get_type ())

#define GCP_MOUSE_SHORTCUT_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), gcp_mouse_shortcut_get_type(), GCPMouseShortcutClass)

/* Private structure type */
typedef struct _GCPMouseShortcutPrivate GCPMouseShortcutPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GCP_MOUSE_SHORTCUT__
#define __TYPEDEF_GCP_MOUSE_SHORTCUT__
typedef struct _GCPMouseShortcut GCPMouseShortcut;
#endif
struct _GCPMouseShortcut {
      GtkWindow __parent__;
      /*< private >*/
      GCPMouseShortcutPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GCPMouseShortcutClass GCPMouseShortcutClass;
struct _GCPMouseShortcutClass {
      GtkWindowClass __parent__;
      /*signal*/void (* button_changed) (GCPMouseShortcut * self, gint button, gchar * edge);
};


/*
 * Public methods
 */
GType gcp_mouse_shortcut_get_type   (void);
gchar *     gcp_mouse_shortcut_get_edge   (GCPMouseShortcut * self);
void  gcp_mouse_shortcut_set_edge   (GCPMouseShortcut * self,
                              gchar * val);
void  gcp_mouse_shortcut_button_changed   (GCPMouseShortcut * self,
                              gint button,
                              gchar * edge);
GtkWidget *       gcp_mouse_shortcut_new  (void);

/*
 * Signal connection wrapper macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define gcp_mouse_shortcut_connect__button_changed(object,func,data)    g_signal_connect(GCP_MOUSE_SHORTCUT(__extension__ ({GCPMouseShortcut *___object = (object); ___object; })),"button_changed",(GCallback) __extension__ ({void (* ___button_changed) (GCPMouseShortcut * ___fake___self, gint ___fake___button, gchar * ___fake___edge, gpointer ___data ) = (func); ___button_changed; }), (data))
#define gcp_mouse_shortcut_connect_after__button_changed(object,func,data)    g_signal_connect_after(GCP_MOUSE_SHORTCUT(__extension__ ({GCPMouseShortcut *___object = (object); ___object; })),"button_changed",(GCallback) __extension__ ({void (* ___button_changed) (GCPMouseShortcut * ___fake___self, gint ___fake___button, gchar * ___fake___edge, gpointer ___data ) = (func); ___button_changed; }), (data))
#define gcp_mouse_shortcut_connect_data__button_changed(object,func,data,destroy_data,flags)    g_signal_connect_data(GCP_MOUSE_SHORTCUT(__extension__ ({GCPMouseShortcut *___object = (object); ___object; })),"button_changed",(GCallback) __extension__ ({void (* ___button_changed) (GCPMouseShortcut * ___fake___self, gint ___fake___button, gchar * ___fake___edge, gpointer ___data ) = (func); ___button_changed; }), (data), (destroy_data), (GConnectFlags)(flags))
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define gcp_mouse_shortcut_connect__button_changed(object,func,data)    g_signal_connect(GCP_MOUSE_SHORTCUT(object),"button_changed",(GCallback)(func),(data))
#define gcp_mouse_shortcut_connect_after__button_changed(object,func,data)    g_signal_connect_after(GCP_MOUSE_SHORTCUT(object),"button_changed",(GCallback)(func),(data))
#define gcp_mouse_shortcut_connect_data__button_changed(object,func,data,destroy_data,flags)    g_signal_connect_data(GCP_MOUSE_SHORTCUT(object),"button_changed",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#endif /* __GNUC__ && !__STRICT_ANSI__ */


/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GCP_MOUSE_SHORTCUT_PROP_EDGE(arg)       "edge", __extension__ ({gchar *z = (arg); z;})
#define GCP_MOUSE_SHORTCUT_GET_PROP_EDGE(arg)   "edge", __extension__ ({gchar **z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GCP_MOUSE_SHORTCUT_PROP_EDGE(arg)       "edge",(gchar *)(arg)
#define GCP_MOUSE_SHORTCUT_GET_PROP_EDGE(arg)   "edge",(gchar **)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#endif

Generated by  Doxygen 1.6.0   Back to index