Skip to content

fontlabapp.qt.properties · declarations 001

Back to fontlabapp.qt.properties

start_drag_distance

start_drag_distance(application: Any) -> int

Return Qt's drag threshold, read from the instance first.

FontLab PythonQt exposes startDragDistance as None on the QApplication class and as a number only on QApplication.instance() (A2 report 15 section 2b). Fall back to the class value, then to Qt's default of 10, when no instance or number is available.

value

value(owner: Any, name: str) -> Any

Get once and call once if callable; preserve values and access errors.