AnacondaTimezoneMap

AnacondaTimezoneMap — An interactive map for timezone selection

Synopsis

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

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----AnacondaTimezoneMap

Implemented Interfaces

AnacondaTimezoneMap implements AtkImplementorIface and GtkBuildable.

Signals

  "timezone-changed"                               : Run First

Description

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.

Details

struct AnacondaTimezoneMap

struct AnacondaTimezoneMap;

struct AnacondaTimezoneMapClass

struct AnacondaTimezoneMapClass {
  GtkWidgetClass parent_class;
};

anaconda_timezone_map_new ()

GtkWidget *         anaconda_timezone_map_new           (void);

Creates a new AnacondaTimezoneMap.

Returns :

A new AnacondaTimezoneMap

anaconda_timezone_map_set_timezone ()

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.

map :

an AnacondaTimezoneMap

timezone :

timezone name

no_signal :

whether the timezone-changed signal should be emitted or not

Returns :

Whether the change was successfully completed. [transfer none]

anaconda_timezone_map_get_timezone ()

gchar *             anaconda_timezone_map_get_timezone  (AnacondaTimezoneMap *map);

map :

an AnacondaTimezoneMap

Returns :

the selected timezone. [transfer none]

Signal Details

The "timezone-changed" signal

void                user_function                      (AnacondaTimezoneMap *anacondatimezonemap,
                                                        gchar               *arg1,
                                                        gpointer             user_data)                : Run First