Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util
diff options
context:
space:
mode:
authorNat <Nat@localhost.localdomain>2007-02-26 17:38:37 (GMT)
committer Nat <Nat@localhost.localdomain>2007-02-26 17:38:37 (GMT)
commit737bd549d0bdd42fce9b8860c1c855ff7233a143 (patch)
tree65137e688ac0aceac1c1c3e488305201a582ebb4 /Util
parent7cf4bbbff0088c9a6c493fb7105fbf2fc5dc261f (diff)
Instrument selection Pixmaps in Mainwindow
Diffstat (limited to 'Util')
-rw-r--r--Util/ThemeWidgets.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Util/ThemeWidgets.py b/Util/ThemeWidgets.py
index 83d0cb1..b62a73e 100644
--- a/Util/ThemeWidgets.py
+++ b/Util/ThemeWidgets.py
@@ -793,6 +793,10 @@ class ImageButton(gtk.Button):
else:
self.window.draw_drawable( self.gc, self.image[self.curImage], 0, 0, self.drawX - self.iwidthDIV2[self.curImage], self.drawY - self.iheightDIV2[self.curImage], self.iwidth[self.curImage], self.iheight[self.curImage] )
return True
+
+ def load_pixmap(self, name, pixmap):
+ self.image[name] = pixmap
+ self.queue_draw()
def on_btn_press(self, widget, event):
self.curImage = "click"