ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to gglCalendar variables
  • Functions that use gglCalendar variables
  • Functions (prefix syntax) that use gglCalendar variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The gglCalendar type is used to describe and modify a calendar used by the Google Calendar service. You can define and change the characteristics of this type of variable using different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion à Google
Cnx is gglConnection
..
// Récupération du tableau des agendas disponibles
tabAgendas is array of gglCalendar
tabAgendas = GglListCalendar(Cnx)
// Récupération des événements du premier agenda
GglFillCalendar(Cnx, tabAgendas[1])
Trace("Description de l'agenda : " + tabAgendas[1].Description)
Properties

Properties specific to gglCalendar variables

The following properties can be used to handle gglCalendar variables:
Property nameType usedEffect
DescriptionCharacter stringDescription of the calendar.
Event[n]Array of gglEventEvents of the calendar.
An event having several characteristics, we advise you to declare a gglEvent variable.
IdentifierCharacter stringIdentifier of the calendar. This property is read-only.
TimeZoneCharacter stringTime zone used by the calendar. This property returns a string such as "America/Los Angeles".
This property is read-only.
TitleCharacter stringTitle of the calendar.
Remarks

Functions that use gglCalendar variables

GglDeleteDeletes data from the Google server.
GglFillCalendarFills a calendar that was previously retrieved: the events corresponding to the calendar are retrieved (by using criteria if necessary).
GglFillCalendarByRequestFills a calendar that was previously retrieved: the events corresponding to the calendar are retrieved via a custom query.
GglGetCalendarRetrieves a Google calendar and its events according to its title or identifier.
GglListCalendarRetrieves the list of Google calendars associated with the specified Google account.
GglWriteCreates and/or updates data on the Google server (addition or modification of data).

Functions (prefix syntax) that use gglCalendar variables

<gglConnection variable>.DeleteDeletes data from the Google server.
<gglConnection variable>.FillCalendarFills a calendar that was previously retrieved: the events corresponding to the calendar are retrieved (by using criteria if necessary).
<gglConnection variable>.FillCalendarByRequestFills a calendar that was previously retrieved: the events corresponding to the calendar are retrieved via a custom query.
<gglConnection variable>.GetCalendarRetrieves a Google calendar and its events according to its title or identifier.
<gglConnection variable>.ListCalendarRetrieves the list of Google calendars associated with the specified Google account.
<gglConnection variable>.WriteCreates and/or updates data on the Google server (addition or modification of data).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help