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
Modifier and TypeFieldDescriptionstatic final String
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;static final String
the name of the application that is registering this recently
used resource;static final String
a UTF-8 encoded string, containing a short description of
the resource, or %NULL;static final String
a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL;static final String
a vector of strings containing
groups names;static final String
whether this resource should be displayed only by the
applications that have registered it or not.static final String
the MIME type of the resource; -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
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;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;boolean
whether this resource should be displayed only by the
applications that have registered it or not.the MIME type of the resource;void
setFieldAppExec
(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;void
setFieldAppName
(Str app_name) the name of the application that is registering this recently
used resource;void
setFieldDescription
(Str description) a UTF-8 encoded string, containing a short description of
the resource, or %NULL;void
setFieldDisplayName
(Str display_name) a UTF-8 encoded string, containing the name of the recently
used resource to be displayed, or %NULL;void
setFieldGroups
(Strs groups) a vector of strings containing
groups names;void
setFieldIsPrivate
(boolean is_private) whether this resource should be displayed only by the
applications that have registered it or not.void
setFieldMimeType
(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, 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
-
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.
-