It is currently Wed Jul 24, 2024 2:15 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: gtk UI (mini) problem
PostPosted: Tue Oct 04, 2016 2:55 am  (#1) 
Offline
GimpChat Member

Joined: Sep 13, 2016
Posts: 137
GIMP Version: 2.8.18
Operating System: Windows
OS Version: windows 10
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
own adjusted guides-to-path script

List any ERROR messages you received:
Not an error, but behavior



Hallo,
Am a beginner in using PyGtk, to write a more comfortable UI for Gimp.

My startpunt is the excellent Arakne guide-lab ...
Now using that script I understood to create tabs, buttons, labels etc. (at beginners level)
and what is nice a pop up message by using gtk.MessageDialog().
All ok so far.

Now my problem:
I created a button to use the plugin guides-to-path, works!
A second button to stroke the just created path using the active_vectors in the
last image, deleting the active_vectors. Works
BUT, the problem, the stroked path becomes only visible AFTER deleting the gkt UI AND clicking once on the image.
What do I miss? Or is it (yet) not possible at all and should I be content as it is now ;)


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: gtk UI (mini) problem
PostPosted: Tue Oct 04, 2016 5:12 am  (#2) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
It sounds like you need to do a gimp-displays-flush, which I guess is pdb.gimp_displays_flush() in the land of Python.

Kevin


Top
 Post subject: Re: gtk UI (mini) problem
PostPosted: Fri Oct 07, 2016 7:06 am  (#3) 
Offline
GimpChat Member

Joined: Sep 13, 2016
Posts: 137
paynekj wrote:
It sounds like you need to do a gimp-displays-flush, which I guess is pdb.gimp_displays_flush() in the land of Python.

Kevin

Thans Kevin, will try ;)


Top
 Post subject: Re: gtk UI (mini) problem
PostPosted: Sun Oct 09, 2016 3:40 am  (#4) 
Offline
GimpChat Member

Joined: Sep 13, 2016
Posts: 137
paynekj wrote:
It sounds like you need to do a gimp-displays-flush, which I guess is pdb.gimp_displays_flush() in the land of Python.

Kevin

No, a pdb.gimp_displays_flush() is in the called (other) plugin used adding it too after the call of the other plugin did not change the behavior.

Have now an Info-window to tell a user what to do ... ;)

EDIT:
No all is ok now, was a thinking error the flush command at the right place does the work as is wished ;-)

Peter


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Mini-Chat

0


cron

* Login  



Powered by phpBB3 © phpBB Group