Warning bmp on a Label : Bitmap « 2D « Python






Warning bmp on a Label

Warning bmp on a Label

from Tkinter import *

class LabelDemo( Frame ):
   def __init__( self ):
      Frame.__init__( self )   

      self.pack( expand = YES, fill = BOTH )
      self.master.title( "Labels" )

      self.Label3 = Label( self, bitmap = "warning" )
      self.Label3.pack( side = LEFT )

if __name__ == "__main__":
   LabelDemo().mainloop() 
           
       








Related examples in the same category

1.Load bitmap into a CanvasLoad bitmap into a Canvas