Package org.webkitgtk
Class InputMethodUnderline
java.lang.Object
org.javagi.base.ProxyInstance
org.webkitgtk.InputMethodUnderline
- All Implemented Interfaces:
Proxy
Range of text in an preedit string to be shown underlined.
- Since:
- 2.28
-
Constructor Summary
ConstructorsConstructorDescriptionInputMethodUnderline(int startOffset, int endOffset) Create a newWebKitInputMethodUnderlinefor the given range in preedit stringInputMethodUnderline(MemorySegment address) Create a InputMethodUnderline proxy instance for the provided memory address. -
Method Summary
Methods inherited from class org.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
public InputMethodUnderline(int startOffset, int endOffset) Create a newWebKitInputMethodUnderlinefor the given range in preedit string- Parameters:
startOffset- the start offset in preedit stringendOffset- the end offset in preedit string- Since:
- 2.28
-
-
Method Details
-
getType
Get the GType of the InputMethodUnderline class- Returns:
- the GType
-
copy
Make a copy of theWebKitInputMethodUnderline.- Returns:
- A copy of passed in
WebKitInputMethodUnderline - Since:
- 2.28
-
free
public void free()Free theWebKitInputMethodUnderline.- Since:
- 2.28
-
setColor
Set the color of the underline.If
rgbaisnullthe foreground text color will be used for the underline too.- Parameters:
rgba- aGdkRGBAornull- Since:
- 2.28
-