| The AnacondaWidgets Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
struct AnacondaTimezoneMap; struct AnacondaTimezoneMapClass; GtkWidget * anaconda_timezone_map_new (void); gboolean anaconda_timezone_map_set_timezone (AnacondaTimezoneMap *map,const gchar *timezone,gboolean no_signal); gchar * anaconda_timezone_map_get_timezone (AnacondaTimezoneMap *map);
A AnacondaTimezoneMap is a widget that can be used for timezone selection. The most important is the ::timezone-changed signal that includes the newly selected timezone.
GtkWidget * anaconda_timezone_map_new (void);
Creates a new AnacondaTimezoneMap.
Returns : |
A new AnacondaTimezoneMap |
gboolean anaconda_timezone_map_set_timezone (AnacondaTimezoneMap *map,const gchar *timezone,gboolean no_signal);
Modifies the map to show timezone as selected. Also modifies the internal
data of the map.
|
an AnacondaTimezoneMap |
|
timezone name |
|
whether the timezone-changed signal should be emitted or not |
Returns : |
Whether the change was successfully completed. [transfer none] |
gchar * anaconda_timezone_map_get_timezone (AnacondaTimezoneMap *map);
|
an AnacondaTimezoneMap |
Returns : |
the selected timezone. [transfer none] |
"timezone-changed" signalvoid user_function (AnacondaTimezoneMap *anacondatimezonemap,
gchar *arg1,
gpointer user_data) : Run First