Package org.gnome.webkit
Class InputMethodUnderline
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.webkit.InputMethodUnderline
-
Constructor Summary
ConstructorDescriptionInputMethodUnderline
(int startOffset, int endOffset) Create a newWebKitInputMethodUnderline
for the given range in preedit stringInputMethodUnderline
(MemorySegment address) Create a InputMethodUnderline proxy instance for the provided memory address. -
Method Summary
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
InputMethodUnderline
Create a InputMethodUnderline proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
InputMethodUnderline
Create a newWebKitInputMethodUnderline
for the given range in preedit string- Parameters:
startOffset
- the start offset in preedit stringendOffset
- the end offset in preedit string- Throws:
UnsupportedPlatformException
- when run on a platform other than linux
-
-
Method Details
-
getType
-
copy
Make a copy of theWebKitInputMethodUnderline
.- Returns:
- A copy of passed in
WebKitInputMethodUnderline
-
free
public void free()Free theWebKitInputMethodUnderline
. -
setColor
Set the color of the underline.If
rgba
isnull
the foreground text color will be used for the underline too.- Parameters:
rgba
- aGdkRGBA
ornull
-