Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

ddoAccepts

ddoAccepts(
g_filter
g_obj
)
=> t / nil

Description

This function is a method of ddHiObjFilter that is called with a specified dd object argument to get listed in the associated combo box.

Arguments

g_filter

A ddHiObjFilter object.

g_obj

A dd object.

Values Returned

t

The specified object is accepted for selection in the associated combo box.

nil

The specified dd object is accepted and listed in the associated combo box.

Examples

Defines a ddHiObjFilter sub-class, and its related methods. The ddoAccepts function accepts view names, which are member of trAcceptedViewNames.

(define trAcceptedViewNames (list "view1" "view2" ...)
(defclass trViewFilter (ddHiObjFilter) ())
(defmethod ddoAccepts ((self trViewFilter) (obj t))
  (member obj->name trAcceptedViewNames))

Related Topics

Form and Field Functions


Return to top
 ⠀
X