Back to index

plt-scheme  4.2.1
xwVScrollb.c
Go to the documentation of this file.
00001 /* Generated by wbuild
00002  * (generator version 3.2)
00003  */
00004 #include <X11/IntrinsicP.h>
00005 #include <X11/StringDefs.h>
00006 #include <./xwVScrollbP.h>
00007 
00008 static char defaultTranslations[] = "\
00009 Ctrl<Key>Prior: Scroll(top) \n\
00010 Ctrl<Key>Next: Scroll(bottom) \n\
00011 <Key>Up: Scroll(up) \n\
00012 <Key>Down: Scroll(down) \n\
00013 <Key>Prior: Scroll(pageUp) \n\
00014 <Key>Next: Scroll(pageDown) \n\
00015 ";
00016 static void _resolve_inheritance(
00017 #if NeedFunctionPrototypes
00018 WidgetClass
00019 #endif
00020 );
00021 
00022 XfwfVScrollbarClassRec xfwfVScrollbarClassRec = {
00023 { /* core_class part */
00024 /* superclass        */  (WidgetClass) &xfwfScrollbarClassRec,
00025 /* class_name        */  "XfwfVScrollbar",
00026 /* widget_size       */  sizeof(XfwfVScrollbarRec),
00027 /* class_initialize  */  NULL,
00028 /* class_part_initialize*/  _resolve_inheritance,
00029 /* class_inited      */  FALSE,
00030 /* initialize        */  NULL,
00031 /* initialize_hook   */  NULL,
00032 /* realize           */  XtInheritRealize,
00033 /* actions           */  NULL,
00034 /* num_actions       */  0,
00035 /* resources         */  NULL,
00036 /* num_resources     */  0,
00037 /* xrm_class         */  NULLQUARK,
00038 /* compres_motion    */  True ,
00039 /* compress_exposure        */  XtExposeCompressMultiple ,
00040 /* compress_enterleave      */  True ,
00041 /* visible_interest  */  False ,
00042 /* destroy           */  NULL,
00043 /* resize            */  XtInheritResize,
00044 /* expose            */  XtInheritExpose,
00045 /* set_values        */  NULL,
00046 /* set_values_hook   */  NULL,
00047 /* set_values_almost        */  XtInheritSetValuesAlmost,
00048 /* get_values+hook   */  NULL,
00049 /* accept_focus      */  XtInheritAcceptFocus,
00050 /* version           */  XtVersion,
00051 /* callback_private  */  NULL,
00052 /* tm_table          */  defaultTranslations,
00053 /* query_geometry    */  XtInheritQueryGeometry,
00054 /* display_acceleator       */  XtInheritDisplayAccelerator,
00055 /* extension         */  NULL 
00056 },
00057 { /* composite_class part */
00058 XtInheritGeometryManager,
00059 XtInheritChangeManaged,
00060 XtInheritInsertChild,
00061 XtInheritDeleteChild,
00062 NULL
00063 },
00064 { /* XfwfCommon_class part */
00065 XtInherit_compute_inside,
00066 XtInherit_total_frame_width,
00067 XtInherit__expose,
00068 XtInherit_highlight_border,
00069 XtInherit_unhighlight_border,
00070 XtInherit_hilite_callbacks,
00071 XtInherit_would_accept_focus,
00072 XtInherit_traverse,
00073 XtInherit_lighter_color,
00074 XtInherit_darker_color,
00075 XtInherit_set_color,
00076 /* traversal_trans */  NULL ,
00077 /* traversal_trans_small */  NULL ,
00078 /* travMode */  1 ,
00079 },
00080 { /* XfwfFrame_class part */
00081  /* dummy */  0
00082 },
00083 { /* XfwfBoard_class part */
00084 XtInherit_set_abs_location,
00085 },
00086 { /* XfwfScrollbar_class part */
00087 XtInherit_scroll_response,
00088 },
00089 { /* XfwfVScrollbar_class part */
00090  /* dummy */  0
00091 },
00092 };
00093 WidgetClass xfwfVScrollbarWidgetClass = (WidgetClass) &xfwfVScrollbarClassRec;
00094 static void _resolve_inheritance(class)
00095 WidgetClass class;
00096 {
00097   XfwfVScrollbarWidgetClass c = (XfwfVScrollbarWidgetClass) class;
00098   XfwfVScrollbarWidgetClass super;
00099   static CompositeClassExtensionRec extension_rec = {
00100     NULL, NULLQUARK, XtCompositeExtensionVersion,
00101     sizeof(CompositeClassExtensionRec), True};
00102   CompositeClassExtensionRec *ext;
00103   ext = (XtPointer)XtMalloc(sizeof(*ext));
00104   *ext = extension_rec;
00105   ext->next_extension = c->composite_class.extension;
00106   c->composite_class.extension = ext;
00107   if (class == xfwfVScrollbarWidgetClass) return;
00108   super = (XfwfVScrollbarWidgetClass)class->core_class.superclass;
00109 }