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
ConstructorDescriptionTlsPassword
(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 ClassHandler
Get a description string about what the password will be used for.int
getFlags()
Get flags about the password.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Get a user readable translated warning.void
setDescription
(Str description) Set a description string about what the password will be used for.void
setDescription
(String description) Set a description string about what the password will be used for.void
setFlags
(int flags) Set flags about the password.void
setWarning
(Str warning) Set a user readable translated warning.void
setWarning
(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, weakUnref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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()
-