[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Python API questions
From: "Thomas Werzmirzowsky" <Werzi2001 () gmx ! de>
Date: 2019-05-31 12:01:14
Message-ID: trinity-667ddb1c-4d92-4dcd-bd40-d016a6655b3c-1559304074043 () 3c-app-gmx-bs15
[Download RAW message or body]
<html><head></head><body><div style="font-family: Verdana;font-size: \
12.0px;"><div>Hello everybody,</div>
<div> </div>
<div>I'm trying to write a simple Python plugin but fail to find the correct \
APIs. Basically I'm searching for the following:</div>
<div>- Open a file as a layer (basically what the "Layer > Import/Export > \
Import Layer..." menu does)</div>
<div>- I noticed that changes that my plugin does are not recorded in the "Undo \
History" and the canvas is not updated properly. So I guess I have to start/stop \
a transaction (or something like that)? Is that right and if so how to do it?</div>
<div> </div>
<div>Generally is there a way to find the API that is used by a menu item? Usually \
the stuff I want to do is a summary of different menu actions but I can't find \
the APIs for that.</div>
<div> </div>
<div>Thanks a lot and best regards</div>
<div>Thomas</div></div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic