|  |  |  | libgweather-3.0 Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
GWeatherTimezoneMenu; GWeatherTimezoneMenuClass; GtkWidget * gweather_timezone_menu_new (GWeatherLocation *top); void gweather_timezone_menu_set_tzid (GWeatherTimezoneMenu *menu,const char *tzid); const char * gweather_timezone_menu_get_tzid (GWeatherTimezoneMenu *menu);
  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkComboBox
                                 +----GWeatherTimezoneMenu
GWeatherTimezoneMenu implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
typedef struct {
    GtkComboBoxClass parent_class;
} GWeatherTimezoneMenuClass;
GtkWidget *         gweather_timezone_menu_new          (GWeatherLocation *top);
Creates a new GWeatherTimezoneMenu.
top will normally be a location returned from
gweather_location_new_world(), but you can create a menu that
contains the timezones from a smaller set of locations if you want.
| 
 | the top-level location for the menu. | 
| Returns : | the new GWeatherTimezoneMenu | 
void gweather_timezone_menu_set_tzid (GWeatherTimezoneMenu *menu,const char *tzid);
Sets menu to the given tzid. If tzid is NULL, sets menu to
"Unknown".
| 
 | a GWeatherTimezoneMenu | 
| 
 | a tzdata id (eg, "America/New_York"). [allow-none] | 
const char *        gweather_timezone_menu_get_tzid     (GWeatherTimezoneMenu *menu);
Gets menu's timezone id.
| 
 | a GWeatherTimezoneMenu | 
| Returns : | menu's tzid, orNULLif no timezone
is selected. [allow-none] |