Package ch.bailu.gtk.gio
Klasse FilenameCompleter
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gio.FilenameCompleter
- Alle implementierten Schnittstellen:
PointerInterface
Completes partial file and directory names given a partial string by
looking in the file system for clues. Can return a list of possible
completion strings for widget implementations.
looking in the file system for clues. Can return a list of possible
completion strings for widget implementations.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new filename completer.FilenameCompleter
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
getCompletions
(Str initial_text) Gets an array of completion strings for a given initial text.getCompletions
(String initial_text) Gets an array of completion strings for a given initial text.getCompletionSuffix
(Str initial_text) Obtains a completion for @initial_text from @completer.getCompletionSuffix
(String initial_text) Obtains a completion for @initial_text from @completer.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Connect to signal "got-completion-data".void
setDirsOnly
(boolean dirs_only) If @dirs_only is %TRUE, @completer will only
complete directory names, and not file names.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden 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
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_GOT_COMPLETION_DATA
- Siehe auch:
-
-
Konstruktordetails
-
FilenameCompleter
-
FilenameCompleter
public FilenameCompleter()Creates a new filename completer.
-
-
Methodendetails
-
getClassHandler
-
getCompletionSuffix
Obtains a completion for @initial_text from @completer.- Parameter:
initial_text
- text to be completed.- Gibt zurück:
- a completed string, or %NULL if no completion exists. This string is not owned by GIO, so remember to g_free() it when finished.
-
getCompletionSuffix
Obtains a completion for @initial_text from @completer.- Parameter:
initial_text
- text to be completed.- Gibt zurück:
- a completed string, or %NULL if no completion exists. This string is not owned by GIO, so remember to g_free() it when finished.
-
getCompletions
Gets an array of completion strings for a given initial text.- Parameter:
initial_text
- text to be completed.- Gibt zurück:
- array of strings with possible completions for @initial_text. This array must be freed by g_strfreev() when finished.
-
getCompletions
Gets an array of completion strings for a given initial text.- Parameter:
initial_text
- text to be completed.- Gibt zurück:
- array of strings with possible completions for @initial_text. This array must be freed by g_strfreev() when finished.
-
setDirsOnly
public void setDirsOnly(boolean dirs_only) If @dirs_only is %TRUE, @completer will only
complete directory names, and not file names.- Parameter:
dirs_only
- a #gboolean.
-
onGotCompletionData
Connect to signal "got-completion-data".
SeeFilenameCompleter.OnGotCompletionData.onGotCompletionData()
for signal description.
FieldSIGNAL_ON_GOT_COMPLETION_DATA
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-