Hot answers tagged

4

Since VTE 0.38, vte_terminal_fork_command_full () has been renamed to vte_terminal_spawn_sync (). So if you are using newer versions, you have to change @ADcomp's answer into the following: terminal.spawn_sync( Vte.PtyFlags.DEFAULT, os.environ['HOME'], ["/bin/sh"], [], GLib.SpawnFlags.DO_NOT_REAP_CHILD, None, None, )


2

There is no release of quickly package in Ubuntu 15.10. You can see here: https://launchpad.net/ubuntu/wily/+source/quickly Try any other version of Ubuntu.


1

You can use a combination between Gtk.fixed(),GObject.timeout_add and the function move, here is an example in python : #!/usr/bin/python* from gi.repository import Gtk, GObject class TestWindow(Gtk.Window): def animateImage(self): GObject.timeout_add(150,self.slideImage) def slideImage(self): self.positionX += 50; ...



Only top voted, non community-wiki answers of a minimum length are eligible