Sponsored Content
Special Forums News, Links, Events and Announcements Software Releases - RSS News Distribution Release: Distribution Release: IPFire 2.9 Core 47 Post 302502387 by Linux Bot on Monday 7th of March 2011 09:15:01 PM
Old 03-07-2011
Distribution Release: Distribution Release: IPFire 2.9 Core 47

Source...
 
initialize_hook()														 initialize_hook()

Name
  initialize_hook - obsolete Object method for initializing subpart data.

Synopsis
  typedef void (*XtArgsProc)(Widget, ArgList, Cardinal *);
	 Widget w;
	 ArgList args;
	 Cardinal *num_args;

Inputs
  w	    Specifies the newly created widget.

  args	    Specifies the argument list that was passed to XtCreateWidget().

  num_args  Specifies the number of arguments in the argument list.

Availability
  Obsolete in Release 4 and later.

Description
  The initialize_hook() method is registered on the initialize_hook field of the Object, RectObj, or Core class part structure, and is called
  by XtCreateWidget().

  As of Release 4, the initialize_hook() method is obsolete because all of its arguments are now passed to the initialize() method.  Its pur-
  pose	had  been  to allow the widget class to use the argument list to initialize fields that did not appear in the class resource list, by
  calling XtSetSubvalues(), for example.

  The initialize_hook() method is chained in superclass-to-subclass order and is called for compatibility with older widgets.  It  cannot  be
  inherited  and  new  widgets	should set their initialize_hook field to NULL.  See XtCreateWidget(1) for details on when it is called.  See
  initialize(4) for more information on initializing subparts or other fields that do not appear in the class resource list.

See Also
  XtCreateWidget(1), XtSetSubvalues(1),
  Core(3),
  get_values_hook(4), set_values_hook(4), initialize(4).

Xt - Intrinsics Methods 													 initialize_hook()
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy