T.R | Title | User | Personal Name | Date | Lines |
---|
586.1 | dtbuilder - reply | NETRIX::"[email protected]" | Wayne Barlow | Fri Jan 24 1997 10:56 | 20 |
| Can you provide more details as to what you are seeing?
I cannot reproduce what I believe you are describing. The
stubs that I generate look like this:
void
testButton(
Widget widget,
XtPointer clientData,
XtPointer callData
)
{
/*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
/*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
/*** DTB_USER_CODE_START vvv Add C code below vvv ***/
/*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
}
Do your stubs look different?
[Posted by WWW Notes gateway]
|
586.2 | cde dtbuilder | CSC32::P_HILL | | Fri Jan 24 1997 12:56 | 8 |
| Hi wayne,
the stubs that I am getting look just like the
example you showed. My question is after you created
the first stubs and know that they work, every time
you create more it still produces the message everytime
and was wondering if there was anyway to turn the confirmation
message off.
|
586.3 | Request for more info - dtbuilder | NETRIX::"[email protected]" | Wayne Barlow | Fri Jan 24 1997 14:49 | 8 |
| Which message are you referring to as a confirmation message?
Is this message being written to the stubs file, console, dialog
window, Code Generator window, etc.? I just want to make sure we
are talking about the same message.
-Wayne.
[Posted by WWW Notes gateway]
|
586.4 | Need to use the "execute code" button | PEACHS::LAMPERT | Pat Lampert, UNIX Applications Support, 343-1050 | Mon Feb 03 1997 15:25 | 32 |
| The needless printf gets placed in your callback only if you
use the "Execute Code" button when producing the callback.
Here is an extract from my stub...
The line the reads..
" printf("action: main_dialog_button1_CB1()\n"); "
was inserted by cde.
void
main_dialog_button1_CB1(
Widget widget,
XtPointer clientData,
XtPointer callData
)
{
/*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
/*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
{
int i;
i = 0;
}/*** DTB_USER_CODE_START vvv Add C code below vvv ***/
printf("action: main_dialog_button1_CB1()\n");
/*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
}
|
586.5 | cde dtbuilder | CSC32::P_HILL | | Tue Feb 04 1997 17:30 | 25 |
| the needless printf statements are being produced
by the dtcodegen executable which is hardcoded into
the dtbuilder application. by using the strings command
strings /usr/dt/bin/dtcodegen |grep "action:"
produces the file that displays all the printf statements
when selected code is generated;
bilP_load_att_action: %d/%s
printf("action: dtb_default_dragCB(DTB_DND_DRAG_START)\n");
printf("action: dtb_default_dragCB(DTB_DND_CONVERT)\n");
printf("action: dtb_default_dragCB(DTB_DND_DELETE)\n");
printf("action: dtb_default_dragCB(DTB_DND_DROPPED_ON_ROOT_WINDOW)\n"); printf("action: dtb_default_dragCB(DTB_DND_FINISH)\n");
printf("action: dtb_default_dropCB(DTB_DND_REGISTER)\n");
printf("action: dtb_default_dropCB(DTB_DND_RECEIVE_DATA)\n");
printf("action: dtb_default_dropCB(DTB_DND_ANIMATE)\n");
printf("action: %s()\n");
I am going to submit a SPR to request this be removed or have an option
added to have the ability to turn this feature off
paul hill osappl
|