"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gb.gtk/src/gsignals.cpp" between
gambas-3.16.2.tar.bz2 and gambas-3.16.3.tar.bz2

About: Gambas is a graphical development environment based on a Basic interpreter with object extensions, a bit like Visual Basic (requires Qt).

gsignals.cpp  (gambas-3.16.2.tar.bz2):gsignals.cpp  (gambas-3.16.3.tar.bz2)
skipping to change at line 96 skipping to change at line 96
ctrl = gApplication::activeControl(); ctrl = gApplication::activeControl();
if (!ctrl) if (!ctrl)
return true; return true;
if (ctrl->topLevel() != data) if (ctrl->topLevel() != data)
return true; return true;
for(;;) for(;;)
{ {
//fprintf(stderr, "cb_focus: %s / %d %d\n", ctrl->name(),
ctrl->isEnabled(), ctrl->canFocus());
if (direction == GTK_DIR_TAB_FORWARD) if (direction == GTK_DIR_TAB_FORWARD)
ctrl = ctrl->nextFocus(); ctrl = ctrl->nextFocus();
else else
ctrl = ctrl->previousFocus(); ctrl = ctrl->previousFocus();
if (!ctrl)
break;
if (ctrl->isReallyVisible() && ctrl->isEnabled() && ctrl- >canFocus() && !ctrl->isNoTabFocus()) if (ctrl->isReallyVisible() && ctrl->isEnabled() && ctrl- >canFocus() && !ctrl->isNoTabFocus())
{ {
//fprintf(stderr, "cb_focus: --> %s\n", ctrl->nam e()); //fprintf(stderr, "cb_focus: --> %s\n", ctrl->nam e());
ctrl->setFocus(); ctrl->setFocus();
break; break;
} }
if (ctrl == data) if (ctrl == data)
break; break;
} }
} }
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)