YaST2 Developers Documentation: Unknown YCP Module



functions
files
intro

Unknown YCP Module

NetworkPopup.ycp
Popup dialogs for browsing the local network
Network browsing dialogs - all hosts, NFS servers, exports of the NFS server

Imports

  • Label

Global Functions

global ChooseItem (string title, list<string> items, string selected) -> string

Let the user choose one of a list of items

Parameters:
title selectionbox title
items a list of items
selected preselected a value in the list
Return value:
one item or nil

global NFSServer (string selected) -> string

Give me NFS server name on the local network - display dialog with all local NFS servers

Parameters:
selected preselected a value in the list
Return value:
a hostname or nil if "Cancel" was pressed

global HostName (string selected) -> string

Give me one host name on the local network - display dialog with all hosts on the local network

Parameters:
selected preselect a value in the list
Return value:
a hostname or nil if "Cancel" was pressed

global NFSExport (string server, string selected) -> string

Give me export path of selected server - display dialog with all exported directories from the selected server

Parameters:
server a NFS server name
selected preselected a value in the list
Return value:
an export or nil if "Cancel" was pressed

YaST2 Developers Documentation