Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtappreleasecacherefs(3xt) [xfree86 man page]

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

XtCallbackReleaseCacheRefList() 										   XtCallbackReleaseCacheRefList()

Name
  XtCallbackReleaseCacheRefList - callback function to release a list of cached values.

Synopsis
  void XtCallbackReleaseCacheRefList(object, client_data, call_data)
	   Widget object;
	   XtPointer client_data;
	   XtPointer call_data;

Inputs
  object    Specifies the object with which the resources are associated.

  client_data
	    Specifies the conversion cache entries to be released.

  call_data Is ignored.

Availability
  Release 4 and later.

Description
  XtCallbackReleaseCacheRefList() casts its client_data argument to a NULL-terminated array of XtCacheRef and passes this array to XtAppRe-
  leaseCacheRefs().  XtAppReleaseCacheRefs() decrements the reference count on the specified objects in the resource conversion cache, and if
  the count reaches zero on any of them it removes the object from the cache and calls the appropriate destructor procedures.

  XtCallbackReleaseCacheReList() is a convenience procedure designed to be registered on the destroy callback list of a widget or object
  (which is why it has third, unused argument).

Usage
  XtCacheRef values are returned from calls to XtCallConverter().  The higher-level converter function XtConvertAndStore() performs the con-
  version and automatically registers XtCallbackReleaseCacheRef() on the object's destroy callback list if necessary.

  To release a single XtCacheRef, you can use XtCallbackReleaseCacheRef().

Structures
  XtCacheRef is an opaque type.

See Also
  XtAppReleaseCacheRefs(1), XtCallbackReleaseCacheRef(1), XtCallConverter(1), XtConvertAndStore(1).

Xt - Resource Management											   XtCallbackReleaseCacheRefList()
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No xorg.conf or XF86Config

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)
Discussion started by: figaro
6 Replies

2. Shell Programming and Scripting

Can a script resize it's own mintty console?

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)
Discussion started by: Michael Stora
4 Replies

3. UNIX for Advanced & Expert Users

Shopt -s histappend

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)
Discussion started by: cokedude
3 Replies

4. Fedora

Fedora 30 and Slackware 14.2, how to obtain the same rendering?

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)
Discussion started by: Linusolaradm1
20 Replies