# US 2002/0178302 A1 · Supplanting motif dialog boxes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2002/0178302 A1
- Document ID: US20020178302A1
- Status: Published application
- Kind: A1
- Application number: 09/865,287
- Filed: 2001-05-25
- Published: 2002-11-28
- Earliest claimed: 2001-05-25
- Assignees: Sun Microsystems, Inc.
- Inventors: David C. Tracey
- Web page: https://patentgrep.com/patent/US20020178302A1

## CPC

- G06F 9/451: Execution arrangements for user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for supplanting the display of a Motif dialog box is disclosed. In a first aspect, the invention includes a method for supplanting a Motif dialog box. The method comprises interposing a functionality between a graphical interface of an application and an Xt Library layered on top an X-Window system; intercepting a function call from the graphical interface for a display of a Motif dialog box from the X-Window system; determining whether the Motif dialog box is to be supplanted; and supplanting the Motif dialog box. In a second aspect, the invention includes a computing system programmed to supplant a Motif dialog box. The computing system comprises an application including a graphical interface; an X-Window system; an Xt library layered on top the X-Window system; and an interposed library interposed between the graphical interface and the Xt library. The Xt Library includes an original function for calling a display of a Motif dialog box. The interposed library includes an interposed function for intercepting the call for the display of the Motif dialog box, determining whether the Motif dialog box is to be supplanted, and supplanting the Motif dialog box.

## Claims

### Claim 1

A method for supplanting a Motif dialog box, comprising:
interposing a functionality between a graphical interface of an application and an Xt Library layered on top an X-Window system;
intercepting a function call from the graphical interface for a display of a Motif dialog box from the X-Window system;
determining whether the Motif dialog box is to be supplanted; and
supplanting the Motif dialog box.

### Claim 2 (depends on 1)

The method of claim 1, wherein intercepting the function call includes calling the interposed function corresponding to an original function.

### Claim 3 (depends on 2)

The method of claim 2, further comprising redirecting an operating system from the original function to the interposed function.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining whether the Motif dialog box is to be supplanted includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 5 (depends on 1)

The method of claim 1, wherein supplanting the Motif dialog box includes:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box.

### Claim 6 (depends on 1)

The method of claim 1, wherein supplanting the Motif dialog box includes:
calling a callback function; or
suppressing the Motif dialog box.

### Claim 7 (depends on 1)

The method of claim 1, wherein, upon determining whether the Motif dialog box is to be supplanted, the method includes:
if the Motif dialog box is to be modified:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box; or
if the Motif dialog box is to be suppressed:
calling a callback function; and
suppressing the Motif dialog box.

### Claim 8 (depends on 7)

The method of claim 7, wherein determining whether the Motif dialog box is to be supplanted includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 9

A program storage medium encoded with instruction that, when executed by a computer, perform a method for supplanting a Motif dialog box, the encoded method comprising:
interposing a functionality between a graphical interface of an application and an Xt Library layered on top an X-Window system;
intercepting a function call from the graphical interface for a display of a Motif dialog box from the X-Window system;
determining whether the Motif dialog box is to be supplanted; and
supplanting the Motif dialog box.

### Claim 10 (depends on 9)

The program storage medium of claim 9, wherein intercepting the function call in the encoded method includes calling the interposed function corresponding to an original function.

### Claim 11 (depends on 10)

The program storage medium of claim 10, wherein the encoded method further comprises redirecting an operating system from the original function to the interposed function.

### Claim 12 (depends on 9)

The program storage medium of claim 9, wherein determining whether the Motif dialog box is to be supplanted in the encoded method includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 13 (depends on 9)

The program storage medium of claim 9, wherein supplanting the Motif dialog box in the encoded method includes:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box.

### Claim 14 (depends on 9)

The program storage medium of claim 9, wherein supplanting the Motif dialog box in the encoded method includes:
calling a callback function; or
suppressing the Motif dialog box.

### Claim 15 (depends on 9)

The program storage medium of claim 9, wherein, upon determining whether the Motif dialog box is to be supplanted, the encoded method includes:
if the Motif dialog box is to be modified:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box; or
if the Motif dialog box is to be suppressed:
calling a callback function; and
suppressing the Motif dialog box.

### Claim 16 (depends on 15)

The program storage medium of claim 15, wherein determining whether the Motif dialog box is to be supplanted in the encoded method includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 17

A computing device programmed to perform a method for supplanting a Motif dialog box, the programmed method comprising:
interposing a functionality between a graphical interface of an application and an Xt Library layered on top an X-Window system;
intercepting a function call from the graphical interface for a display of a Motif dialog box from the X-Window system;
determining whether the Motif dialog box is to be supplanted; and
supplanting the Motif dialog box.

### Claim 18 (depends on 17)

The programmed computing device of claim 17, wherein intercepting the function call in the programmed method includes calling the interposed function corresponding to an original function.

### Claim 19 (depends on 18)

The programmed computing device of claim 18, wherein the programmed method further comprises redirecting an operating system from the original function to the interposed function.

### Claim 20 (depends on 17)

The programmed computing device of claim 17, wherein determining whether the Motif dialog box is to be supplanted in the programmed method includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 21 (depends on 17)

The programmed computing device of claim 17, wherein supplanting the Motif dialog box in the programmed method includes:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box.

### Claim 22 (depends on 17)

The programmed computing device of claim 17, wherein supplanting the Motif dialog box in the programmed method includes:
calling a callback function; and
suppressing the Motif dialog box.

### Claim 23 (depends on 22)

The programmed computing device of claim 22, wherein determining whether the Motif dialog box is to be supplanted in the programmed method includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 24 (depends on 17)

The programmed computing device of claim 17, wherein, upon determining whether the Motif dialog box is to be supplanted, the programmed method includes:
if the Motif dialog box is to be modified:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box; or
if the Motif dialog box is to be suppressed:
calling a callback function; and
suppressing the Motif dialog box.

### Claim 25 (depends on 24)

The programmed computing device of claim 24, wherein intercepting the function call in the programmed method includes calling an interposed function corresponding to an original function.

### Claim 26 (depends on 24)

The programmed computing device of claim 24, wherein the programmed method further comprises redirecting an operating system from the original function to the interposed function.

### Claim 27

An apparatus for performing a method for supplanting a Motif dialog box, the apparatus comprising:
means for interposing a functionality between a graphical interface of an application and an Xt Library layered on top an X-Window system;
means for intercepting a function call from the graphical interface for a display of a Motif dialog box from the X-Window system;
means for determining whether the Motif dialog box is to be supplanted; and
means for supplanting the Motif dialog box.

### Claim 28 (depends on 27)

The apparatus of claim 27, wherein the means for intercepting the function call includes means for calling the interposed function corresponding to an original function.

### Claim 29 (depends on 28)

The apparatus of claim 28, further comprising means for redirecting an operating system from the original function to the interposed function.

### Claim 30 (depends on 27)

The apparatus of claim 27, wherein the means for determining whether the Motif dialog box is to be supplanted includes:
means for calling a naming function to identify the Motif dialog box in the intercepted call; and
means for comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 31 (depends on 27)

The apparatus of claim 27, wherein the means for supplanting the Motif dialog box includes:
means for modifying at least one parameter in the intercepted call;
means for re-calling the display of the Motif dialog box with the modified parameter; and
means for displaying a modified Motif dialog box.

### Claim 32 (depends on 27)

The apparatus of claim 27, wherein the means for supplanting the Motif dialog box includes:
means for calling a callback function; and
means for suppressing the Motif dialog box.

### Claim 33 (depends on 32)

The apparatus of claim 32, wherein the means for determining whether the Motif dialog box is to be supplanted includes:
means for calling a naming function to identify the Motif dialog box in the intercepted call; and
means for comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 34 (depends on 27)

The apparatus of claim 27, wherein, upon determining whether the Motif dialog box is to be supplanted, the means for supplanting:
if the Motif dialog box is to be modified:
modifies at least one parameter in the intercepted call;
re-calls the display of the Motif dialog box with the modified parameter; and
displays a modified Motif dialog box; or
if the Motif dialog box is to be suppressed:
calls a callback function; and
suppresses the Motif dialog box.

### Claim 35 (depends on 34)

The apparatus of claim 34, wherein the means for determining whether the Motif dialog box is to be supplanted includes:
means for calling a naming function to identify the Motif dialog box in the intercepted call; and
means for comparing the name returned by the naming function against a plurality of Motif dialog box names that are to be supplanted.

### Claim 36

A computing system programmed to supplant a Motif dialog box, the computing system comprising:
an application including:
a graphical interface;
an X-Window system;
an Xt library layered on top the X-Window system, the Xt Library including an original function for calling a display of a Motif dialog box; and
an interposed library interposed between the graphical interface and the Xt library, the interposed library including an interposed function for intercepting the function call for the display of the Motif dialog box, determining whether the Motif dialog box is to be supplanted, and supplanting the Motif dialog box.

### Claim 37 (depends on 36)

The computing system of claim 36, wherein the computing system comprises a single computing device.

### Claim 38 (depends on 36)

The computing system of claim 36, wherein the computing system comprises a plurality of computing devices.

### Claim 39 (depends on 38)

The computing system of claim 38, wherein the application resides on a first one of the plurality of computing devices and at least one of the X-Window system, the Xt library, and the interposed library reside on a second one of the plurality of computing devices.

### Claim 40 (depends on 36)

The computing system of claim 36, wherein the application is either a Netscape Navigator™ application or an Adobe Acrobat™ reader application.

### Claim 41 (depends on 36)

The computing system of claim 36, wherein the graphical interface is a Motif graphical interface.

### Claim 42 (depends on 36)

The computing system of claim 36, wherein the original function is an original XtManageChild( ) function.

### Claim 43 (depends on 36)

The computing system of claim 36, wherein the interposed function is an interposed XtManageChild( ) function.

### Claim 44 (depends on 36)

The computing system of claim 36, wherein the computing system further comprises a data store of names of Motif dialog boxes to be supplanted, and wherein determining whether the Motif dialog box is to be supplanted includes:
calling a naming function to identify the Motif dialog box in the intercepted call; and
comparing the name returned by the naming function against the Motif dialog box names that are to be supplanted.

### Claim 45 (depends on 36)

The computing system of claim 36, wherein supplanting the Motif dialog box includes:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box.

### Claim 46 (depends on 36)

The computing system of claim 36, wherein supplanting the Motif dialog box includes:
calling a callback function; and
suppressing the Motif dialog box.

### Claim 47 (depends on 36)

The computing system of claim 36, wherein, upon determining whether the Motif dialog box is to be supplanted, the interposed function:
if the Motif dialog box is to be modified:
modifies at least one parameter in the intercepted call;
re-calls the display of the Motif dialog box with the modified parameter; and
displays a modified Motif dialog box; or
if the Motif dialog box is to be suppressed:
calls a callback function; and
suppresses the Motif dialog box.

### Claim 48

A computing system programmed to supplant a Motif dialog box, the computing system comprising:
an application including:
a graphical interface;
an X-Window system;
an Xt library layered on top the X-Window system, the Xt Library including an original function for calling a display of a Motif dialog box; and
an interposed library interposed between the graphical interface and the Xt library, the interposed library including means for intercepting the function call for the display of the Motif dialog box, determining whether the Motif dialog box is to be supplanted, and supplanting the Motif dialog box.

### Claim 49 (depends on 48)

The computing system of claim 48, wherein the computing system comprises a single computing device.

### Claim 50 (depends on 48)

The computing system of claim 48, wherein the computing system comprises a plurality of computing devices.

### Claim 51 (depends on 50)

The computing system of claim 50, wherein the application resides on a first one of the plurality of computing devices and at least one of the X-Window system, the Xt library, and the interposed library reside on a second one of the plurality of computing devices.

### Claim 52 (depends on 48)

The computing system of claim 48, wherein the application is either a Netscape Navigator™ application or an Adobe Acrobat™ reader application.

### Claim 53 (depends on 48)

The computing system of claim 48, wherein the graphical interface is a Motif graphical interface.

### Claim 54 (depends on 48)

The computing system of claim 48, wherein the original function is an original XtManageChild( ) function.

### Claim 55 (depends on 48)

The computing system of claim 48, wherein the means comprises an interposed XtManageChild( ) function.

### Claim 56 (depends on 48)

The computing system of claim 48, wherein the computing system further comprises a data store of names of Motif dialog boxes to be supplanted, and the means includes:
means for calling a naming function to identify the Motif dialog box in the intercepted call; and
means for comparing the name returned by the naming function against the Motif dialog box names that are to be supplanted.

### Claim 57 (depends on 48)

The computing system of claim 48, wherein the means includes:
means for modifying at least one parameter in the intercepted call;
means for re-calling the display of the Motif dialog box with the modified parameter; and
means for displaying a modified Motif dialog box.

### Claim 58 (depends on 48)

The computing system of claim 48, wherein means includes:
means for calling a callback function; and
means for suppressing the Motif dialog box.

### Claim 59 (depends on 48)

The computing system of claim 48, wherein, upon determining whether the Motif dialog box is to be supplanted:
if the Motif dialog box is to be modified, the means is further for:
modifying at least one parameter in the intercepted call;
re-calling the display of the Motif dialog box with the modified parameter; and
displaying a modified Motif dialog box; or
if the Motif dialog box is to be suppressed, the means is further for:
calling a callback function; and
suppressing the Motif dialog box.
