Working on "busy" animation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@213 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -478,12 +478,16 @@ class PinpadGTK:
|
||||
# gtk.main_iteration()
|
||||
# line = p.stdout.readline()
|
||||
|
||||
foo = gtk.Window(gtk.WINDOW_POPUP)
|
||||
waiting = gtk.Window(gtk.WINDOW_POPUP)
|
||||
animation = gtk.gdk.PixbufAnimation(image_dir + "/wait.gif")
|
||||
img = gtk.Image()
|
||||
img.set_from_animation(animation)
|
||||
foo.add(img)
|
||||
foo.show_all()
|
||||
waiting.add(img)
|
||||
waiting.set_position(gtk.WIN_POS_CENTER_ALWAYS)
|
||||
waiting.set_modal(True)
|
||||
waiting.set_transient_for(self)
|
||||
waiting.set_decorated(False)
|
||||
waiting.show_all()
|
||||
|
||||
line = p.stdout.readline()
|
||||
# self.progressWindow.show()
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
<child>
|
||||
<object class="GtkEntry" id="txtOutput">
|
||||
<property name="visible">True</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="editable">False</property>
|
||||
<property name="max_length">10</property>
|
||||
<property name="invisible_char">●</property>
|
||||
@@ -45,6 +46,7 @@
|
||||
<property name="truncate_multiline">True</property>
|
||||
<property name="shadow_type">out</property>
|
||||
<property name="invisible_char_set">True</property>
|
||||
<property name="caps_lock_warning">False</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
||||
Reference in New Issue
Block a user