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()
|
# gtk.main_iteration()
|
||||||
# line = p.stdout.readline()
|
# line = p.stdout.readline()
|
||||||
|
|
||||||
foo = gtk.Window(gtk.WINDOW_POPUP)
|
waiting = gtk.Window(gtk.WINDOW_POPUP)
|
||||||
animation = gtk.gdk.PixbufAnimation(image_dir + "/wait.gif")
|
animation = gtk.gdk.PixbufAnimation(image_dir + "/wait.gif")
|
||||||
img = gtk.Image()
|
img = gtk.Image()
|
||||||
img.set_from_animation(animation)
|
img.set_from_animation(animation)
|
||||||
foo.add(img)
|
waiting.add(img)
|
||||||
foo.show_all()
|
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()
|
line = p.stdout.readline()
|
||||||
# self.progressWindow.show()
|
# self.progressWindow.show()
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkEntry" id="txtOutput">
|
<object class="GtkEntry" id="txtOutput">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="sensitive">False</property>
|
||||||
<property name="editable">False</property>
|
<property name="editable">False</property>
|
||||||
<property name="max_length">10</property>
|
<property name="max_length">10</property>
|
||||||
<property name="invisible_char">●</property>
|
<property name="invisible_char">●</property>
|
||||||
@@ -45,6 +46,7 @@
|
|||||||
<property name="truncate_multiline">True</property>
|
<property name="truncate_multiline">True</property>
|
||||||
<property name="shadow_type">out</property>
|
<property name="shadow_type">out</property>
|
||||||
<property name="invisible_char_set">True</property>
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="caps_lock_warning">False</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user