EZ_RegisterResourcesAll man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

EZ_RegisterResourcesAll(3)	EZWGL Functions	    EZ_RegisterResourcesAll(3)

NAME
       EZ_RegisterResourcesAll - register a list of widget resources

SYNOPSIS
       #include <EZ.h>

       void EZ_RegisterResourcesAll( int type, int nresources, EZ_ResourceSpec resources,
	    int (configure)(void*theWidget,intoption,EZ_Value*values))

       typedef struct {
	 int	 option;    /* reference index, must > 1024 */
	 char	 *iname;    /* resource name  */
	 char	 *cname;    /* resource class */
	 char	 *vtypes;   /* value types, e.g "int,float,string" */
       } EZ_ResourceSpec;

       typedef struct {
	 int  type;
	 union {
	   char	   c;	 unsigned char	uc;
	   short   s;	 unsigned short us;
	   int	   i;	 unsigned int	ui;
	   float   f;
	   void	   *p;
	   void	   *function;
	   char	   *str;
	   unsigned long l;
	 } value;
       } EZ_Value;

ARGUMENTS
       type   Specifies	 a  widget  type.   resources	Specifies  a  list  of
       resources.

       nresources  Specifies the number of resources.

       configure  Specifies a procedure that sets the widget  attributes  from
       resources.

DESCRIPTION
       EZ_RegisterResourcesAll	register a list of resources for all widget of
       the given type. Once registered, future invokation  of  EZ_CreateWidget
       will  consult  the  specified  resource	handle to parse and set widget
       attributes from the resource database.

       To register a list of resources for a single widget, use the configura‐
       tion option b+EZ_RESOURCES_HANDLE+.

SEE ALSO
       EZ_RegisterApplicationResources(3)

EZWGL						    EZ_RegisterResourcesAll(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net