Programming Guide


Recalculates widget positions

void sm_adjust_area(void);


Motif, Windows


sm_adjust_area recalculates the positions of widgets on the current screen and redraws the screen accordingly. It uses Panther's positioning algorithm to map character-mode coordinates to the current GUI environment. You should call this function when runtime changes to the screen might cause widgets to overlap—for example, move a widget, add a new one, or change widget dimensions.