![]() |
![]() |
![]() |
GPE Manual: libgpewidget Reference | ![]() |
---|---|---|---|---|
#define GPE_TYPE_CLOCK_FACE #define GPE_CLOCK_FACE (obj) #define GTK_CLOCK_GET_CLASS (obj) GpeClockFace; 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);
#define GPE_CLOCK_FACE(obj)
Macro to cast a an object (usually GtkWidget*) to GpeClockFace type.
|
Object to cast. |
#define GTK_CLOCK_GET_CLASS(obj)
Macro to return class from object instance.
|
typedef struct _GpeClockFace GpeClockFace;
Object container for the GpeClockFace widget.
typedef struct _GpeClockFaceClass GpeClockFaceClass;
Object container for the GpeClockFaceClass widget.
GtkType gpe_clock_face_get_type (void);
Returns type for a GpeClockFace widget. Internally used to create a new instance of a GpeClockFace.
Returns : |
Object type |
GtkWidget* gpe_clock_face_new (GtkAdjustment *, GtkAdjustment *, GtkAdjustment *);
Create a new instance of a GpeClockFace widget.
|
Adjustmennt for hour setting. |
|
Adjustment for minute setting. |
|
Adjustment for second setting. |
Returns : |
New GpeClockFace widget. |
void gpe_clock_face_set_do_grabs (GpeClockFace *clock, gboolean yes);
Set wether to allow user interactive moving of the hands or not.
|
Widget |
|
TRUE to allow, FALSE to deny |
void gpe_clock_face_set_radius (GpeClockFace *clock, guint radius);
Sets the radius of the clockface (in pixels).
|
Widget |
|
New radius. |
void gpe_clock_face_set_use_background_image (GpeClockFace *clock, gboolean yes);
Set if the widget should use a background image.
|
Widget |
|
TRUE to enable, FALSE to disable |
void gpe_clock_face_set_label_hours (GpeClockFace *clock, gboolean yes);
Turn hour labels on the clockface on/off.
|
Widget |
|
TRUE to enable, FALSE to disable |
void gpe_clock_face_set_hand_width (GpeClockFace *clock, double width);
Change the width of clock hands.
|
Widget |
|
New with in pixels. |
GdkBitmap* gpe_clock_face_get_shape (GpeClockFace *clock);
Returns the shape mask of the given clockface widget. This is used to set up a shaped window only containing a GtkClockFace widget.
|
Widget |
Returns : |
The widget's shape mask |