Re: [evince] How to know when the evince-view has finished loading?



Found a workaround.

Querying "evince.View().get_visible()" at regular intervals, seems to work - after the view is loaded, it returns True.


On Fri, Apr 12, 2013 at 5:00 PM, Ajay Garg <ajaygargnsit gmail com> wrote:
Hi all.

Is there a signal which is emitted, when an evince-view finishes loading (in GTK2)?
I tried enumerating "evince.View()" via the following code, but did not seemingly find any useful signal/method.

######################################################################
def dump(obj):
    for attr in dir(obj):
        print "obj.%s = %s" % (attr, getattr(obj, attr))
 
  import evince
  dump(evince.View())  
######################################################################



Will be grateful for any pointers :)


Regards,
Ajay



--
Regards,
Ajay


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]