YaST2 Developers Documentation: Configuration of Users

Configuration of Users

include/users/users_plugin_quota.ycp
This is GUI part of UsersPluginQuota, plugin for configuration of user and group quotas
  • Jiri Suchomel

This module has an unstable interface.

Imports

  • Label
  • Report
  • Users
  • UsersPluginQuota
  • Wizard

Local Functions

local update_time_widget (string id, integer seconds) -> void

helper for updating values of time widget from number of seconds

Parameters:
id string that preceedes the subwidgets id's
seconds number of seconds to be shown in the widget
local time_dialog (string id, integer seconds) -> term

helper for creating widget with time settings

Parameters:
id string that preceedes the subwidgets id's
seconds number of seconds to be shown in the widget
local get_seconds_value (string id) -> integer

helper for reading the content of time widget

Parameters:
id string that preceedes the subwidgets id's
Return value:
the number of seconds shown in the time widget