## GWeatherTimezoneMenu GWeatherTimezoneMenu |

## Synopsis

                        GWeatherTimezoneMenu;
    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);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkComboBox
                                           +----GWeatherTimezoneMenu

## Implemented Interfaces

GWeatherTimezoneMenu implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.

## Properties

      "top"                      gpointer              : Write / Construct Only
      "tzid"                     gchar*                : Read / Write

## Description

## Details

### GWeatherTimezoneMenu

    typedef struct _GWeatherTimezoneMenu GWeatherTimezoneMenu;

A GtkComboBox subclass for choosing a GWeatherTimezone

### gweather_timezone_menu_new ()

    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.

`top` : | the top-level location for the menu.
Returns : | the new GWeatherTimezoneMenu

### gweather_timezone_menu_set_tzid ()

    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".

`menu` : | a GWeatherTimezoneMenu
`tzid` : | a tzdata id (eg, "America/New_York"). allow-none.

### gweather_timezone_menu_get_tzid ()

    const char *        gweather_timezone_menu_get_tzid     (GWeatherTimezoneMenu *menu);

Gets `menu`'s timezone id.

`menu` : | a GWeatherTimezoneMenu
Returns : | allow-none. allow-none.

## Property Details

### The `"top"` property

      "top"                      gpointer              : Write / Construct Only

The GWeatherLocation whose children will be used to fill in the menu.

### The `"tzid"` property

      "tzid"                     gchar*                : Read / Write

The selected TZID.

Default value: NULL