10 #ifndef YGTK_TIME_ZONE_PICKER_H
11 #define YGTK_TIME_ZONE_PICKER_H
17 #define YGTK_TYPE_TIME_ZONE_PICKER (ygtk_time_zone_picker_get_type ())
18 #define YGTK_TIME_ZONE_PICKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
19 YGTK_TYPE_TIME_ZONE_PICKER, YGtkTimeZonePicker))
20 #define YGTK_TIME_ZONE_PICKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
21 YGTK_TYPE_TIME_ZONE_PICKER, YGtkTimeZonePickerClass))
22 #define YGTK_IS_TIME_ZONE_PICKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
23 YGTK_TYPE_TIME_ZONE_PICKER))
24 #define YGTK_IS_TIME_ZONE_PICKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
25 YGTK_TYPE_TIME_ZONE_PICKER))
26 #define YGTK_TIME_ZONE_PICKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
27 YGTK_TYPE_TIME_ZONE_PICKER, YGtkTimeZonePickerClass))
34 typedef const gchar *(*TimeZoneToName) (
const gchar *code, gpointer data);
41 GdkPixbuf *map_pixbuf;
42 gint map_width, map_height;
44 GdkWindow *map_window;
51 gint last_mouse_x, last_mouse_y;
56 GtkWidgetClass parent_class;
64 gchar *country, *zone, *comment, *tooltip;
65 gdouble latitude, longitude;
69 GType ygtk_time_zone_picker_get_type (
void) G_GNUC_CONST;
72 TimeZoneToName converter, gpointer converter_user_data);
75 void ygtk_time_zone_picker_set_current_zone (
YGtkTimeZonePicker *picker,
const gchar *zone,