Menu

#4 can't set XltNbubbleString after widget created

closed
None
5
2004-07-03
2003-12-21
TK Soh
No

BubbleButton @ Xlt-9.2.9 does not allow
XltNbubbleString to be changed after the widget has
been created.

The following patch attempts to fix it:

@@ -292,6 +292,9 @@
{
XmStringFree(BubbleButton_BubbleString(old));
BubbleButton_BubbleString(new_w) =
XmStringCopy(BubbleButton_BubbleString(new_w));
+ XtVaSetValues(BubbleButton_Label(new_w),
+ XmNlabelString,
BubbleButton_BubbleString(new_w),
+ NULL);
}
if (XtIsSensitive(old) != XtIsSensitive(new_w))
{

Discussion

  • Rick Scott

    Rick Scott - 2004-07-03
    • assigned_to: nobody --> rwscott
    • status: open --> closed
     
  • Rick Scott

    Rick Scott - 2004-07-03

    Logged In: YES
    user_id=54972

    Fixed in CVS. BubbleButton.c revision: 1.17