Package ch.bailu.gtk.gio
Class TlsPassword
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gio.TlsPassword
- All Implemented Interfaces:
PointerInterface
Holds a password used in TLS.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Constructor Summary
ConstructorsConstructorDescriptionTlsPassword(int flags, Str description) Create a new #GTlsPassword object.TlsPassword(int flags, String description) Create a new #GTlsPassword object.TlsPassword(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerGet a description string about what the password will be used for.intgetFlags()Get flags about the password.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeGet a user readable translated warning.voidsetDescription(Str description) Set a description string about what the password will be used for.voidsetDescription(String description) Set a description string about what the password will be used for.voidsetFlags(int flags) Set flags about the password.voidsetWarning(Str warning) Set a user readable translated warning.voidsetWarning(String warning) Set a user readable translated warning.Methods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
TlsPassword
-
TlsPassword
Create a new #GTlsPassword object.- Parameters:
flags- the password flagsdescription- description of what the password is for
-
TlsPassword
Create a new #GTlsPassword object.- Parameters:
flags- the password flagsdescription- description of what the password is for
-
-
Method Details
-
getClassHandler
-
getDescription
Get a description string about what the password will be used for.- Returns:
- The description of the password.
-
getFlags
public int getFlags()Get flags about the password.- Returns:
- The flags about the password.
-
getWarning
Get a user readable translated warning. Usually this warning is a
representation of the password flags returned from
g_tls_password_get_flags().- Returns:
- The warning.
-
setDescription
Set a description string about what the password will be used for.- Parameters:
description- The description of the password
-
setDescription
Set a description string about what the password will be used for.- Parameters:
description- The description of the password
-
setFlags
public void setFlags(int flags) Set flags about the password.- Parameters:
flags- The flags about the password
-
setWarning
Set a user readable translated warning. Usually this warning is a
representation of the password flags returned from
g_tls_password_get_flags().- Parameters:
warning- The user readable warning
-
setWarning
Set a user readable translated warning. Usually this warning is a
representation of the password flags returned from
g_tls_password_get_flags().- Parameters:
warning- The user readable warning
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-