/* * Copyright (C) 2003 Philip Blundell * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef GPE_CLOCK_H #define GPE_CLOCK_H #include #include #define GPE_TYPE_CLOCK_FACE (gpe_clock_face_get_type ()) #define GPE_CLOCK_FACE(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), gpe_clock_face_get_type(), GpeClockFace) #define GTK_CLOCK_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS ((obj), gpe_clock_face_get_type(), GpeClockFaceClass) typedef struct _GpeClockFace GpeClockFace; /** * GpeClockFaceClass: * * Object container for the GpeClockFaceClass widget. */ typedef struct _GpeClockFaceClass GpeClockFaceClass; GtkType gpe_clock_face_get_type (void); GtkWidget *gpe_clock_face_new (GtkAdjustment *, GtkAdjustment *, GtkAdjustment *); void gpe_clock_face_set_do_grabs (GpeClockFace *clock, gboolean yes); void gpe_clock_face_set_radius (GpeClockFace *clock, guint radius); void gpe_clock_face_set_use_background_image (GpeClockFace *clock, gboolean yes); void gpe_clock_face_set_label_hours (GpeClockFace *clock, gboolean yes); void gpe_clock_face_set_hand_width (GpeClockFace *clock, double width); void gpe_clock_face_set_border (GpeClockFace *clock, guint border); GdkBitmap *gpe_clock_face_get_shape (GpeClockFace *clock); #endif