Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!bloom-beacon!goldhill.COM!jne From: jne@goldhill.COM Newsgroups: comp.windows.x Subject: Resource conversion Message-ID: <8908152147.AA07857@godzilla.goldhill.com> Date: 15 Aug 89 21:47:09 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 26 Using X11R3 with Xt. Question: When do the resources specified in the default resources of a widget class get converted to their actual value. For example, in Xaw/Scroll.c, the default resource for the scrollbarWidgetClass contains the following lines: {XtNscrollVCursor, XtCCursor, XtRCursor, sizeof(Cursor), Offset(scrollbar.verCursor), XtRString, "sb_v_double_arrow"}, Is the string converted to an actual cursor object (using XCreateFontCursor just once (at class initialization time?), or every time a widget is created, or something else. The reason I ask is because I am doing a XtDestroyApplicationContext(app_context) ; and then recreating an app_context and new display. It seems that after I create the new display, I am getting BadCursor errors because the old value used by XCreateFontCursor for the old display is being reused (without calling XCreateFontCursor again for the new display). Jeff Eisen Gold Hill Computers 617-621-3404