user_action_time_should_present


Description:


[ Version ( since = "0.11.13" ) ]
public bool user_action_time_should_present (int64 user_action_time, out uint32 x11_time)

Interpret a Telepathy user action time to decide whether a Handler should attempt to gain focus.

If true is returned, it would be appropriate to call gtk_window_present_with_time using x11_time as input, for instance.

x11_time is used to return a timestamp in the right format for X11, GDK 2, GDK 3 and Clutter 1.0; it may or may not work with other toolkits or versions.

Parameters:

user_action_time

the Telepathy user action time

x11_time

a pointer to guint32 used to return an X11 timestamp, or 0 to indicate the current time; if false is returned, the value placed here is not meaningful

Returns:

true if it would be appropriate to present a window


Namespace: TelepathyGLib
Package: telepathy-glib



2022 vala-language.org