| Top |
| CtkWidget * | cafeweather_timezone_menu_new () |
| void | cafeweather_timezone_menu_set_tzid () |
| const char * | cafeweather_timezone_menu_get_tzid () |
GObject
╰── GInitiallyUnowned
╰── CtkWidget
╰── CtkContainer
╰── CtkBin
╰── CtkComboBox
╰── CafeWeatherTimezoneMenu
CafeWeatherTimezoneMenu implements AtkImplementorIface, CtkBuildable, CtkCellLayout and CtkCellEditable.
CtkWidget *
cafeweather_timezone_menu_new (CafeWeatherLocation *top);
Creates a new CafeWeatherTimezoneMenu.
top
will normally be a location returned from
cafeweather_location_new_world(), but you can create a menu that
contains the timezones from a smaller set of locations if you want.
void cafeweather_timezone_menu_set_tzid (CafeWeatherTimezoneMenu *menu,const char *tzid);
Sets menu
to the given tzid
. If tzid
is NULL, sets menu
to
"Unknown".
const char *
cafeweather_timezone_menu_get_tzid (CafeWeatherTimezoneMenu *menu);
Gets menu
's timezone id.