* [property@Gtk.LockButton:tooltip-lock],
* [property@Gtk.LockButton:tooltip-unlock] and
* [property@Gtk.LockButton:tooltip-not-authorized] properties.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
struct _GtkLockButton
* GtkLockButton:permission: (attributes org.gtk.Property.get=gtk_lock_button_get_permission org.gtk.Property.set=gtk_lock_button_set_permission)
*
* The `GPermission object controlling this button.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_PERMISSION,
g_param_spec_object ("permission", NULL, NULL,
* GtkLockButton:text-lock:
*
* The text to display when prompting the user to lock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TEXT_LOCK,
g_param_spec_string ("text-lock", NULL, NULL,
* GtkLockButton:text-unlock:
*
* The text to display when prompting the user to unlock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TEXT_UNLOCK,
g_param_spec_string ("text-unlock", NULL, NULL,
* GtkLockButton:tooltip-lock:
*
* The tooltip to display when prompting the user to lock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TOOLTIP_LOCK,
g_param_spec_string ("tooltip-lock", NULL, NULL,
* GtkLockButton:tooltip-unlock:
*
* The tooltip to display when prompting the user to unlock.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TOOLTIP_UNLOCK,
g_param_spec_string ("tooltip-unlock", NULL, NULL,
* GtkLockButton:tooltip-not-authorized:
*
* The tooltip to display when the user cannot obtain authorization.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
g_object_class_install_property (gobject_class, PROP_TOOLTIP_NOT_AUTHORIZED,
g_param_spec_string ("tooltip-not-authorized", NULL, NULL,
* Creates a new lock button which reflects the @permission.
*
* Returns: a new `GtkLockButton`
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
GtkWidget *
gtk_lock_button_new (GPermission *permission)
* Obtains the `GPermission` object that controls @button.
*
* Returns: (transfer none) (nullable): the `GPermission` of @button
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
GPermission *
gtk_lock_button_get_permission (GtkLockButton *button)
* @permission: (nullable): a `GPermission` object
*
* Sets the `GPermission` object that controls @button.
+ *
+ * Deprecated: 4.10: This widget will be removed in GTK 5
*/
void
gtk_lock_button_set_permission (GtkLockButton *button,