3.8 <WebKitInputMethodUnderline>

Structure: <WebKitInputMethodUnderline>

Range of text in an preedit string to be shown underlined.

Procedures

Method: input-method-underline:copy self ⇒ %return
Method: copy self ⇒ %return

Make a copy of the <WebKitInputMethodUnderline>.

self

Passed: a <WebKitInputMethodUnderline>.

a <WebKitInputMethodUnderline>

%return

Returned: a <WebKitInputMethodUnderline>.

A copy of passed in <WebKitInputMethodUnderline>

Method: input-method-underline:free self
Method: free self

Free the <WebKitInputMethodUnderline>.

self

Passed: a <WebKitInputMethodUnderline>.

A <WebKitInputMethodUnderline>

Procedure: input-method-underline:new start-offset end-offset ⇒ %return

Create a new <WebKitInputMethodUnderline> for the given range in preedit string

start-offset

Passed: an unsigned 32-bit integer.

the start offset in preedit string

end-offset

Passed: an unsigned 32-bit integer.

the end offset in preedit string

%return

Returned: a <WebKitInputMethodUnderline>.

A newly created <WebKitInputMethodUnderline>

Method: input-method-underline:set-color self [rgba]
Method: set-color self [rgba]

Set the color of the underline.

If rgba is #f the foreground text color will be used for the underline too.

self

Passed: a <WebKitInputMethodUnderline>.

a <WebKitInputMethodUnderline>

rgba

Passed, or left out: a <GdkRGBA>, or #f.

a <GdkRGBA> or #f