#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# window = gtk . Window ( gtk . WINDOW_POPUP ) #NEWLINE# window . connect ( 'delete_event' , self . close_application ) #NEWLINE# window . set_events ( ( window . get_events ( ) | gtk . gdk . BUTTON_PRESS_MASK ) ) #NEWLINE# window . connect ( 'button_press_event' , self . close_application ) #NEWLINE# window . show ( ) #NEWLINE# ( pixmap , mask ) = gtk . gdk . pixmap_create_from_xpm_d ( window . window , None , WheelbarrowFull_xpm ) #NEWLINE# image = gtk . Image ( ) #NEWLINE# image . set_from_pixmap ( pixmap , mask ) #NEWLINE# image . show ( ) #NEWLINE# fixed = gtk . Fixed ( ) #NEWLINE# fixed . set_size_request ( 200 , 200 ) #NEWLINE# fixed . put ( window , 0 , 0 ) #NEWLINE# window . add ( fixed ) #NEWLINE# fixed . show ( ) #NEWLINE# window . shape_combine_mask ( mask , 0 , 0 ) #NEWLINE# window . set_position ( gtk . WIN_POS_CENTER_ALWAYS ) #NEWLINE# window . show ( )