Created
February 28, 2012 23:06
-
-
Save palfrey/1935898 to your computer and use it in GitHub Desktop.
Example applet stub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
from gi.repository import Gtk | |
except ImportError: | |
import gtk as Gtk | |
def applet_factory(applet, iid, data = None): | |
button = Gtk.Button("It works!") | |
applet.add(button) | |
applet.show_all() | |
return True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment