Is it possible to close the QGIS welcome page with Python?
I have a permanently docked Python plugin, that uses showRubberBand to directly write into map canvas. Therefor I have to close/remove the welcome page first.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
There are a couple of different approaches to that:
Whenever a new layer gets added to the mapcanvas, the welcome page will disappear
In contrast to the other two approaches, this changes the configuration of the QGIS installation permanently.
# 0: Welcome page # 1: Most recent # 2: Specific (specify with '/qgis/projOpenAtLaunchPath') # 3: New QSettings().setValue('/qgis/projOpenAtLaunch', 3)