Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | mateweather_timezone_menu_new () |
void | mateweather_timezone_menu_set_tzid () |
const char * | mateweather_timezone_menu_get_tzid () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkComboBox ╰── MateWeatherTimezoneMenu
MateWeatherTimezoneMenu implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
GtkWidget *
mateweather_timezone_menu_new (MateWeatherLocation *top
);
Creates a new MateWeatherTimezoneMenu.
top
will normally be a location returned from
mateweather_location_new_world()
, but you can create a menu that
contains the timezones from a smaller set of locations if you want.
void mateweather_timezone_menu_set_tzid (MateWeatherTimezoneMenu *menu
,const char *tzid
);
Sets menu
to the given tzid
. If tzid
is NULL
, sets menu
to
"Unknown".
const char *
mateweather_timezone_menu_get_tzid (MateWeatherTimezoneMenu *menu
);
Gets menu
's timezone id.