1MrmFetchWidgetOverride(library call)      MrmFetchWidgetOverride(library call)
2
3
4

NAME

6       MrmFetchWidgetOverride  —  Fetches  any indexed (UIL named) application
7       widget.  It overrides the arguments specified for this application wid‐
8       get in UIL
9

SYNOPSIS

11       #include <Mrm/MrmPublic.h>
12       Cardinal MrmFetchWidgetOverride(
13       MrmHierarchy hierarchy_id,
14       String index,
15       Widget parent_widget,
16       String override_name,
17       ArgList override_args,
18       Cardinal override_num_args,
19       Widget *widget,
20       MrmType *class);
21

DESCRIPTION

23       The  MrmFetchWidgetOverride  function  is  the extended version of Mrm‐
24       FetchWidget.  It is identical to MrmFetchWidget, except that it  allows
25       the  caller  to  override the widget's name and any arguments that Mrm‐
26       FetchWidget would otherwise retrieve from the UID file or  one  of  the
27       defaulting mechanisms.  That is, the override argument list is not lim‐
28       ited to those arguments in the UID file.
29
30       The override arguments apply only to the widget fetched and returned by
31       this  function.   Its  children  (subtree)  do not receive any override
32       parameters.
33
34       hierarchy_id
35                 Specifies the ID of  the  UID  hierarchy  that  contains  the
36                 interface definition.  The value of hierarchy_id was returned
37                 in a previous call to MrmOpenHierarchyPerDisplay.
38
39       index     Specifies the UIL name of the widget to fetch.
40
41       parent_widget
42                 Specifies the parent widget ID.
43
44       override_name
45                 Specifies the name to override the widget name.  Use  a  NULL
46                 value if you do not want to override the widget name.
47
48       override_args
49                 Specifies  the  override  argument  list, exactly as given to
50                 XtCreateWidget (conversion complete and  so  forth).   Use  a
51                 NULL value if you do not want to override the argument list.
52
53       override_num_args
54                 Specifies the number of arguments in override_args.
55
56       widget    Returns the widget ID of the created widget.
57
58       class     Returns  the class code identifying MRM's widget class.  Lit‐
59                 erals identifying MRM widget class codes are defined  in  the
60                 include file Mrm/MrmPublic.h.
61

RETURN VALUE

63       This function returns one of the following status return constants:
64
65       MrmSUCCESS
66                 The function executed successfully.
67
68       MrmBAD_HIERARCHY
69                 The hierarchy ID was invalid.
70
71       MrmNOT_FOUND
72                 The widget was not found in UID hierarchy.
73
74       MrmFAILURE
75                 The function failed.
76
78       MrmOpenHierarchyPerDisplay(3), MrmFetchWidget(3).
79
80
81
82                                          MrmFetchWidgetOverride(library call)
Impressum