Package ch.bailu.gtk.gtk
Class RecentData
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.RecentData
- All Implemented Interfaces:
PointerInterface
Meta-data to be passed to gtk_recent_manager_add_full() when
registering a recently used resource.
registering a recently used resource.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringcommand line used to launch this resource; may contain the
“\%f” and “\%u” escape characters which will be expanded
to the resource file path and URI respectively when the command line
is retrieved;static final Stringthe name of the application that is registering this recently
used resource;static final Stringa UTF-8 encoded string, containing a short description of
the resource, or %NULL;static final Stringa UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL;static final Stringa vector of strings containing
groups names;static final Stringwhether this resource should be displayed only by the
applications that have registered it or not.static final Stringthe MIME type of the resource; -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlercommand line used to launch this resource; may contain the
“\%f” and “\%u” escape characters which will be expanded
to the resource file path and URI respectively when the command line
is retrieved;the name of the application that is registering this recently
used resource;a UTF-8 encoded string, containing a short description of
the resource, or %NULL;a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL;a vector of strings containing
groups names;booleanwhether this resource should be displayed only by the
applications that have registered it or not.the MIME type of the resource;voidsetFieldAppExec(Str app_exec) command line used to launch this resource; may contain the
“\%f” and “\%u” escape characters which will be expanded
to the resource file path and URI respectively when the command line
is retrieved;voidsetFieldAppName(Str app_name) the name of the application that is registering this recently
used resource;voidsetFieldDescription(Str description) a UTF-8 encoded string, containing a short description of
the resource, or %NULL;voidsetFieldDisplayName(Str display_name) a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL;voidsetFieldGroups(Strs groups) a vector of strings containing
groups names;voidsetFieldIsPrivate(boolean is_private) whether this resource should be displayed only by the
applications that have registered it or not.voidsetFieldMimeType(Str mime_type) the MIME type of the resource;Methods 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
-
Field Details
-
DISPLAY_NAME
a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL;- See Also:
-
DESCRIPTION
a UTF-8 encoded string, containing a short description of
the resource, or %NULL;- See Also:
-
MIME_TYPE
the MIME type of the resource;- See Also:
-
APP_NAME
the name of the application that is registering this recently
used resource;- See Also:
-
APP_EXEC
command line used to launch this resource; may contain the
“\%f” and “\%u” escape characters which will be expanded
to the resource file path and URI respectively when the command line
is retrieved;- See Also:
-
GROUPS
a vector of strings containing
groups names;- See Also:
-
IS_PRIVATE
whether this resource should be displayed only by the
applications that have registered it or not.- See Also:
-
-
Constructor Details
-
RecentData
-
RecentData
public RecentData()
-
-
Method Details
-
getClassHandler
-
setFieldDisplayName
a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL; -
getFieldDisplayName
a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL; -
setFieldDescription
a UTF-8 encoded string, containing a short description of
the resource, or %NULL; -
getFieldDescription
a UTF-8 encoded string, containing a short description of
the resource, or %NULL; -
setFieldMimeType
the MIME type of the resource; -
getFieldMimeType
the MIME type of the resource; -
setFieldAppName
the name of the application that is registering this recently
used resource; -
getFieldAppName
the name of the application that is registering this recently
used resource; -
setFieldAppExec
command line used to launch this resource; may contain the
“\%f” and “\%u” escape characters which will be expanded
to the resource file path and URI respectively when the command line
is retrieved; -
getFieldAppExec
command line used to launch this resource; may contain the
“\%f” and “\%u” escape characters which will be expanded
to the resource file path and URI respectively when the command line
is retrieved; -
setFieldGroups
a vector of strings containing
groups names; -
getFieldGroups
a vector of strings containing
groups names; -
setFieldIsPrivate
public void setFieldIsPrivate(boolean is_private) whether this resource should be displayed only by the
applications that have registered it or not. -
getFieldIsPrivate
public boolean getFieldIsPrivate()whether this resource should be displayed only by the
applications that have registered it or not.
-