XtAppReleaseCacheRefs(3Xt) XT FUNCTIONS XtAppReleaseCacheRefs(3Xt)NAME
XtAppReleaseCacheRefs - decrement reference counts for resources
SYNTAX
void XtAppReleaseCacheRefs(XtAppContext app_context, XtCacheRef* refs);
ARGUMENTS
app_context
Specifies the application context.
refs Specifies the list of cache references to be released.
DESCRIPTION
XtAppReleaseCacheRefs decrements the reference count for the conversion entries identified by the refs argument. This argument is a pointer
to a NULL-terminated list of XtCacheRef values. If any reference count reaches zero, the destructor, if any, will be called and the
resource removed from the conversion cache.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
XFree86 Version 4.7.0 XtAppReleaseCacheRefs(3Xt)
Check Out this Related Man Page
XtAppReleaseCacheRefs() XtAppReleaseCacheRefs()
Name
XtAppReleaseCacheRefs - decrement the reference counts for cached resources obtained from XtCallConverter().
Synopsis
void XtAppReleaseCacheRefs(app, refs)
XtAppContext app;
XtCacheRef *refs;
Inputs
app Specifies the application context.
refs Specifies a NULL-terminated array of cache references to be decremented.
Availability
Release 4 and later.
Description
XtAppReleaseCacheRefs() decrements the reference count for each XtCacheRef in the NULL-terminated array refs. If any reference count
reaches zero, the destructor registered with XtSetTypeConverter() for that resource type, if any, will be called and the resource removed
from the conversion cache.
An XtCacheRef is a handle to a cached resource value. It is obtained in a call to XtCallConverter().
Usage
Applications and widgets should very rarely need to call this function. The Intrinsics provide two predefined callbacks which can be reg-
istered with an XtCacheRef or an array of XtCacheRef on the destroy callback of a widget or object to automatically call XtAppRelease-
CacheRefs() when the resources are no longer needed. See XtCallbackReleaseCacheRef() and XtCallbackReleaseCacheRefList().
Additionally, the function XtConvertAndStore() which is a higher-level interface to resource converters than XtCallConverter() is passed a
widget or object and automatically registers XtCallbackReleaseCacheRef() on the object's destroy callback if needed. XtCreateWidget() may
also register such callbacks.
Structures
XtCacheRef is an opaque type.
See AlsoXtCallbackReleaseCacheRef(1), XtCallbackReleaseCacheRefList(1), XtCallConverter(1), XtConvertAndStore(1), XtSetTypeConverter(1),
XtDestructor(2).
Xt - Resource Management XtAppReleaseCacheRefs()
There is no xorg.conf file and no XF86Config file on a certain FreeBSD machine:
# locate xorg.conf
/usr/local/man/man5/xorg.conf.5.gz
# locate XF86Config
#
Can someone let me know if that means that there is a bare bones set up possible only? xrandr works fine, but I am looking for ways to... (6 Replies)
I'm looking for finer granularity than the 20 ANSI escape sequence screen modes. What I'd like to do is have the terminal increase it's own height when I have to show the user a long menu.
Platform is Cygwin 64 running over Win 7 Pro.
Mike (4 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Look this very good rendering on Slackware 14.2
in my opinion is near perfect.
https://i.stack.imgur.com/q5trL.png
Now look the same page on Fedora 30
https://i.stack.imgur.com/FBQv7.png
In my opinion the fonts on Fedora are too small and difficult to read, I prefer the fat fonts of... (20 Replies)