vikdatetime_edit_dialog

vikdatetime_edit_dialog

Functions

Description

Functions

vik_datetime_edit_dialog ()

time_t
vik_datetime_edit_dialog (GtkWindow *parent,
                          const gchar *title,
                          time_t initial_time,
                          GTimeZone *tz);

Parameters

parent

The parent window

 

title

The title to use for the dialog

 

initial_time

The inital date/time to be shown

 

tz

The GTimeZone this dialog will operate in

 

Returns

A time selected by the user via this dialog Even though a time of zero is notionally valid - consider it unlikely to be actually wanted! Thus if the time is zero then the dialog was cancelled or somehow an invalid date was encountered.

Types and Values