Window-specific Options

Command-Line Name: -items, Database Name: items, Database Class; -

The filter set. »items« is a list of property names.

Command-Line Name: -command, Database Name: command, Database Class; -

format script; this »command« is executed whenever the local filter is applied.

Example 3.4, “Gfilter Usage” A new filter dialog is created and filled with a filter set specified with »-items«. All available items –for the current window– are provided via »-group«. The .inspector setfilter script is executed after a new filter set was composed, »%s« is expanded with all items inside the filter set.

Command-Line Name: -group, Database Name: group, Database Class: -

»group« are the properties displayed inside the top listbox. »group« usually contains all the property names supported by the inspected window. Duplicated properties such as »bg«, »fg« and »bd« are omitted.


Figure 3.3. gfilter

The »gfilter« command creates a »gfilter window.«

Graphical User Interface for the »positive« filter Dialog. This dialog is available from within the Inspector(n)’s context menu to the right.

The gfilter dialog is thought of as a quick and dirty filter mechanism. In usual circumstances these filters will not be used together with global filters. There is a »Disable Global Filters« entry inside the Inspector(n) context menu, which does temporarily disable the global filter. Use it, when working with local filters.

Global –negative– Filters are defined by »gfilter«’s preference counterpart: Greffilters(n).

Window Command

A Window created through the gfilter command exposes various functions. Using these functions has the following general form:

object.option(?arg arg ...?)

PathName is the same as the window path name. Option and the args determine the exact behavior of the command. The following commands are possible for this window: